Class 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 Detail

      • 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.
    • Method Detail

      • handleAttribute

        protected void handleAttribute​(int i)
                                throws XMLStreamException
        Overrides:
        handleAttribute in class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
        Throws:
        XMLStreamException
      • handleStartElement

        protected void handleStartElement()
                                   throws XMLStreamException
        Overrides:
        handleStartElement in class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
        Throws:
        XMLStreamException
      • handleEndElement

        protected void handleEndElement()
                                 throws XMLStreamException
        Overrides:
        handleEndElement in class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
        Throws:
        XMLStreamException
      • handleCharacters

        protected void handleCharacters()
                                 throws XMLStreamException
        Overrides:
        handleCharacters in class org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter
        Throws:
        XMLStreamException