com.sun.xml.ws.config.management.server
Class ManagementWSDLPatcher
java.lang.Object
com.sun.xml.ws.util.xml.XMLStreamReaderToXMLStreamWriter
com.sun.xml.ws.config.management.server.ManagementWSDLPatcher
public class ManagementWSDLPatcher
- extends XMLStreamReaderToXMLStreamWriter
Remove all existing policies and policy references from the given XML document
and insert the new effective policies.
- Author:
- Fabian Ritzmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagementWSDLPatcher
public ManagementWSDLPatcher(Map<URI,Policy> urnToPolicy)
handleStartElement
protected void handleStartElement()
throws XMLStreamException
- If we find a policy element, skip it. If we find a binding element,
marshal any policies onto it.
- Overrides:
handleStartElement in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException - If a parsing error occured
handleEndElement
protected void handleEndElement()
throws XMLStreamException
- Skip all policy expressions.
- Overrides:
handleEndElement in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException - If a parsing error occured
handleAttribute
protected void handleAttribute(int i)
throws XMLStreamException
- Skip all policy attributes
- Overrides:
handleAttribute in class XMLStreamReaderToXMLStreamWriter
- Parameters:
i - The i-th attribute of the current element
- Throws:
XMLStreamException - If a parsing error occured
handleCharacters
protected void handleCharacters()
throws XMLStreamException
- Overrides:
handleCharacters in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
handleComment
protected void handleComment()
throws XMLStreamException
- Overrides:
handleComment in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
handlePI
protected void handlePI()
throws XMLStreamException
- Overrides:
handlePI in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
handleDTD
protected void handleDTD()
throws XMLStreamException
- Overrides:
handleDTD in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
handleEntityReference
protected void handleEntityReference()
throws XMLStreamException
- Overrides:
handleEntityReference in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
handleSpace
protected void handleSpace()
throws XMLStreamException
- Overrides:
handleSpace in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
handleCDATA
protected void handleCDATA()
throws XMLStreamException
- Overrides:
handleCDATA in class XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.