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.XMLStreamReaderToXMLStreamWriter
Patches 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 aWSDLPatcher
for patching WSDL.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleAttribute(int i)
protected void
handleCharacters()
protected void
handleEndElement()
protected void
handleStartElement()
-
-
-
Constructor Detail
-
WSDLPatcher
public WSDLPatcher(@NotNull PortAddressResolver portAddressResolver, @NotNull DocumentLocationResolver docResolver)
Creates aWSDLPatcher
for 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:
handleAttribute
in classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
-
handleStartElement
protected void handleStartElement() throws XMLStreamException
- Overrides:
handleStartElement
in classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
-
handleEndElement
protected void handleEndElement() throws XMLStreamException
- Overrides:
handleEndElement
in classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
-
handleCharacters
protected void handleCharacters() throws XMLStreamException
- Overrides:
handleCharacters
in classorg.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
- Throws:
XMLStreamException
-
-