public final class WSDLPatcher extends XMLStreamReaderToXMLStreamWriter
in, out
Constructor and Description |
---|
WSDLPatcher(PortAddressResolver portAddressResolver,
DocumentLocationResolver docResolver)
Creates a
WSDLPatcher for patching WSDL. |
Modifier and Type | Method and Description |
---|---|
protected void |
handleAttribute(int i)
Writes out the
i -th attribute of the current element. |
protected void |
handleCharacters() |
protected void |
handleEndElement() |
protected void |
handleStartElement() |
bridge, handleCDATA, handleComment, handleDTD, handleEntityReference, handlePI, handleSpace
public WSDLPatcher(@NotNull PortAddressResolver portAddressResolver, @NotNull DocumentLocationResolver docResolver)
WSDLPatcher
for patching WSDL.portAddressResolver
- address of the endpoint is resolved using this docResolver.docResolver
- Consulted to get the import/include document locations.
Must not be null.protected void handleAttribute(int i) throws javax.xml.stream.XMLStreamException
XMLStreamReaderToXMLStreamWriter
i
-th attribute of the current element.
Used from XMLStreamReaderToXMLStreamWriter.handleStartElement()
.
handleAttribute
in class XMLStreamReaderToXMLStreamWriter
javax.xml.stream.XMLStreamException
protected void handleStartElement() throws javax.xml.stream.XMLStreamException
handleStartElement
in class XMLStreamReaderToXMLStreamWriter
javax.xml.stream.XMLStreamException
protected void handleEndElement() throws javax.xml.stream.XMLStreamException
handleEndElement
in class XMLStreamReaderToXMLStreamWriter
javax.xml.stream.XMLStreamException
protected void handleCharacters() throws javax.xml.stream.XMLStreamException
handleCharacters
in class XMLStreamReaderToXMLStreamWriter
javax.xml.stream.XMLStreamException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.