Package com.sun.xml.ws.wsdl.writer
Class WSDLPatcher
java.lang.Object
org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
com.sun.xml.ws.wsdl.writer.WSDLPatcher
Patches WSDL with the correct endpoint address and the relative paths
to other documents.
- Author:
- Jitendra Kotamraju, Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
XMLStreamReaderToXMLStreamWriter.Breakpoint -
Field Summary
Fields inherited from class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
in, out -
Constructor Summary
ConstructorsConstructorDescriptionWSDLPatcher(PortAddressResolver portAddressResolver, DocumentLocationResolver docResolver) Creates aWSDLPatcherfor patching WSDL. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleAttribute(int i) Writes out thei-th attribute of the current element.protected voidprotected voidprotected voidMethods inherited from class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
bridge, bridge, handleCDATA, handleComment, handleDTD, handleEntityReference, handlePI, handleSpace
-
Constructor Details
-
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 Details
-
handleAttribute
Description copied from class:XMLStreamReaderToXMLStreamWriterWrites out thei-th attribute of the current element.Used from
XMLStreamReaderToXMLStreamWriter.handleStartElement().- Overrides:
handleAttributein classXMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
handleStartElement
- Overrides:
handleStartElementin classXMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
handleEndElement
- Overrides:
handleEndElementin classXMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-
handleCharacters
- Overrides:
handleCharactersin classXMLStreamReaderToXMLStreamWriter- Throws:
XMLStreamException
-