Package com.sun.xml.ws.wsdl.writer
Class WSDLPatcher
- java.lang.Object
-
- org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
-
- com.sun.xml.ws.wsdl.writer.WSDLPatcher
-
public final class WSDLPatcher extends org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriterPatches WSDL with the correct endpoint address and the relative paths to other documents.- Author:
- Jitendra Kotamraju, Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description WSDLPatcher(PortAddressResolver portAddressResolver, DocumentLocationResolver docResolver)Creates aWSDLPatcherfor patching WSDL.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleAttribute(int i)protected voidhandleCharacters()protected voidhandleEndElement()protected voidhandleStartElement()
-
-
-
Constructor Detail
-
WSDLPatcher
public WSDLPatcher(@NotNull PortAddressResolver portAddressResolver, @NotNull DocumentLocationResolver docResolver)Creates aWSDLPatcherfor patching WSDL.- Parameters:
portAddressResolver- address of the endpoint is resolved using this docResolver.docResolver- Consulted to get the import/include document locations. Must not be null.
-
-
Method Detail
-
handleAttribute
protected void handleAttribute(int i) throws XMLStreamException- Overrides:
handleAttributein classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
handleStartElement
protected void handleStartElement() throws XMLStreamException- Overrides:
handleStartElementin classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
handleEndElement
protected void handleEndElement() throws XMLStreamException- Overrides:
handleEndElementin classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
handleCharacters
protected void handleCharacters() throws XMLStreamException- Overrides:
handleCharactersin classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
-