com.sun.xml.ws.wsdl.writer
Class WSDLPatcher
java.lang.Object
com.sun.xml.ws.util.xml.XMLStreamReaderToXMLStreamWriter
com.sun.xml.ws.wsdl.writer.WSDLPatcher
public final class WSDLPatcher
- extends XMLStreamReaderToXMLStreamWriter
Patches WSDL with the correct endpoint address and the relative paths
to other documents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLPatcher
public WSDLPatcher(@NotNull
PortAddressResolver portAddressResolver,
@NotNull
DocumentLocationResolver docResolver)
- Creates a
WSDLPatcher
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.
handleAttribute
protected void handleAttribute(int i)
throws javax.xml.stream.XMLStreamException
- Description copied from class:
XMLStreamReaderToXMLStreamWriter
- Writes out the
i
-th attribute of the current element.
Used from XMLStreamReaderToXMLStreamWriter.handleStartElement()
.
- Overrides:
handleAttribute
in class XMLStreamReaderToXMLStreamWriter
- Throws:
javax.xml.stream.XMLStreamException
handleStartElement
protected void handleStartElement()
throws javax.xml.stream.XMLStreamException
- Overrides:
handleStartElement
in class XMLStreamReaderToXMLStreamWriter
- Throws:
javax.xml.stream.XMLStreamException
handleEndElement
protected void handleEndElement()
throws javax.xml.stream.XMLStreamException
- Overrides:
handleEndElement
in class XMLStreamReaderToXMLStreamWriter
- Throws:
javax.xml.stream.XMLStreamException
handleCharacters
protected void handleCharacters()
throws javax.xml.stream.XMLStreamException
- Overrides:
handleCharacters
in class XMLStreamReaderToXMLStreamWriter
- Throws:
javax.xml.stream.XMLStreamException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.