Class WSDLWrapperSaveImpl

  • All Implemented Interfaces:
    Serializable, javax.wsdl.Definition, javax.wsdl.extensions.AttributeExtensible, javax.wsdl.extensions.ElementExtensible, javax.wsdl.WSDLElement, WSDLWrapperImpl

    public class WSDLWrapperSaveImpl
    extends Object
    implements WSDLWrapperImpl
    There are cases where a WSDL definition is kept in memory in case it needs to be accessed during runtime. In situations where there are lots of WSDL definitions or big WSDLs, the memory footprint can be huge. This class provides support for processing a WSDL4J definition with a lower memory footprint. This is useful for certain environments.
    See Also:
    Serialized Form
    • Constructor Detail

      • WSDLWrapperSaveImpl

        public WSDLWrapperSaveImpl​(javax.wsdl.Definition def)
        Constructor
        Parameters:
        def - The WSDL Definition
      • WSDLWrapperSaveImpl

        public WSDLWrapperSaveImpl​(javax.wsdl.Definition def,
                                   URL wURL)
        Constructor
        Parameters:
        def - The WSDL Definition
        wURL - The URL for the wsdl
    • Method Detail

      • setDefinitionToWrap

        public void setDefinitionToWrap​(javax.wsdl.Definition d)
        Sets the WSDL4J Definition object that is being wrapped
        Specified by:
        setDefinitionToWrap in interface WSDLWrapperImpl
        Parameters:
        d - the WSDL4J Definition object
      • setWSDLLocation

        public void setWSDLLocation​(String uriLocation)
        Sets the location for the WSDL4J Definition object that is being wrapped
        Specified by:
        setWSDLLocation in interface WSDLWrapperImpl
      • getWSDLLocation

        public String getWSDLLocation()
        Gets the location for the WSDL4J Definition object that is being wrapped
        Specified by:
        getWSDLLocation in interface WSDLWrapperImpl
      • close

        public void close()
        Closes the use of the wrapper implementation and allows internal resources to be released.
        Specified by:
        close in interface WSDLWrapperImpl
      • setDocumentBaseURI

        public void setDocumentBaseURI​(String d)
        Specified by:
        setDocumentBaseURI in interface javax.wsdl.Definition
      • getDocumentBaseURI

        public String getDocumentBaseURI()
        Specified by:
        getDocumentBaseURI in interface javax.wsdl.Definition
      • setQName

        public void setQName​(QName n)
        Specified by:
        setQName in interface javax.wsdl.Definition
      • getQName

        public QName getQName()
        Specified by:
        getQName in interface javax.wsdl.Definition
      • setTargetNamespace

        public void setTargetNamespace​(String t)
        Specified by:
        setTargetNamespace in interface javax.wsdl.Definition
      • getTargetNamespace

        public String getTargetNamespace()
        Specified by:
        getTargetNamespace in interface javax.wsdl.Definition
      • addNamespace

        public void addNamespace​(String prefix,
                                 String namespaceURI)
        Specified by:
        addNamespace in interface javax.wsdl.Definition
      • removeNamespace

        public String removeNamespace​(String prefix)
        Specified by:
        removeNamespace in interface javax.wsdl.Definition
      • getNamespace

        public String getNamespace​(String prefix)
        Specified by:
        getNamespace in interface javax.wsdl.Definition
      • getPrefix

        public String getPrefix​(String namespaceURI)
        Specified by:
        getPrefix in interface javax.wsdl.Definition
      • getNamespaces

        public Map getNamespaces()
        Specified by:
        getNamespaces in interface javax.wsdl.Definition
      • getNativeAttributeNames

        public List getNativeAttributeNames()
        Specified by:
        getNativeAttributeNames in interface javax.wsdl.extensions.AttributeExtensible
      • setTypes

        public void setTypes​(javax.wsdl.Types types)
        Specified by:
        setTypes in interface javax.wsdl.Definition
      • getTypes

        public javax.wsdl.Types getTypes()
        Specified by:
        getTypes in interface javax.wsdl.Definition
      • addImport

        public void addImport​(javax.wsdl.Import importDef)
        Specified by:
        addImport in interface javax.wsdl.Definition
      • removeImport

        public javax.wsdl.Import removeImport​(javax.wsdl.Import importDef)
        Specified by:
        removeImport in interface javax.wsdl.Definition
      • getImports

        public List getImports​(String namespaceURI)
        Specified by:
        getImports in interface javax.wsdl.Definition
      • getImports

        public Map getImports()
        Specified by:
        getImports in interface javax.wsdl.Definition
      • addMessage

        public void addMessage​(javax.wsdl.Message message)
        Specified by:
        addMessage in interface javax.wsdl.Definition
      • getMessage

        public javax.wsdl.Message getMessage​(QName name)
        Specified by:
        getMessage in interface javax.wsdl.Definition
      • removeMessage

        public javax.wsdl.Message removeMessage​(QName name)
        Specified by:
        removeMessage in interface javax.wsdl.Definition
      • getMessages

        public Map getMessages()
        Specified by:
        getMessages in interface javax.wsdl.Definition
      • addBinding

        public void addBinding​(javax.wsdl.Binding binding)
        Specified by:
        addBinding in interface javax.wsdl.Definition
      • getBinding

        public javax.wsdl.Binding getBinding​(QName name)
        Specified by:
        getBinding in interface javax.wsdl.Definition
      • removeBinding

        public javax.wsdl.Binding removeBinding​(QName name)
        Specified by:
        removeBinding in interface javax.wsdl.Definition
      • getBindings

        public Map getBindings()
        Specified by:
        getBindings in interface javax.wsdl.Definition
      • getAllBindings

        public Map getAllBindings()
        Specified by:
        getAllBindings in interface javax.wsdl.Definition
      • addPortType

        public void addPortType​(javax.wsdl.PortType portType)
        Specified by:
        addPortType in interface javax.wsdl.Definition
      • getPortType

        public javax.wsdl.PortType getPortType​(QName name)
        Specified by:
        getPortType in interface javax.wsdl.Definition
      • removePortType

        public javax.wsdl.PortType removePortType​(QName name)
        Specified by:
        removePortType in interface javax.wsdl.Definition
      • getPortTypes

        public Map getPortTypes()
        Specified by:
        getPortTypes in interface javax.wsdl.Definition
      • getAllPortTypes

        public Map getAllPortTypes()
        Specified by:
        getAllPortTypes in interface javax.wsdl.Definition
      • addService

        public void addService​(javax.wsdl.Service service)
        Specified by:
        addService in interface javax.wsdl.Definition
      • getService

        public javax.wsdl.Service getService​(QName name)
        Specified by:
        getService in interface javax.wsdl.Definition
      • removeService

        public javax.wsdl.Service removeService​(QName name)
        Specified by:
        removeService in interface javax.wsdl.Definition
      • getServices

        public Map getServices()
        Specified by:
        getServices in interface javax.wsdl.Definition
      • getAllServices

        public Map getAllServices()
        Specified by:
        getAllServices in interface javax.wsdl.Definition
      • setDocumentationElement

        public void setDocumentationElement​(Element docEl)
        Specified by:
        setDocumentationElement in interface javax.wsdl.WSDLElement
      • getDocumentationElement

        public Element getDocumentationElement()
        Specified by:
        getDocumentationElement in interface javax.wsdl.WSDLElement
      • addExtensibilityElement

        public void addExtensibilityElement​(javax.wsdl.extensions.ExtensibilityElement extElement)
        Specified by:
        addExtensibilityElement in interface javax.wsdl.extensions.ElementExtensible
      • getExtensibilityElements

        public List getExtensibilityElements()
        Specified by:
        getExtensibilityElements in interface javax.wsdl.extensions.ElementExtensible
      • createBinding

        public javax.wsdl.Binding createBinding()
        Specified by:
        createBinding in interface javax.wsdl.Definition
      • createBindingFault

        public javax.wsdl.BindingFault createBindingFault()
        Specified by:
        createBindingFault in interface javax.wsdl.Definition
      • createBindingInput

        public javax.wsdl.BindingInput createBindingInput()
        Specified by:
        createBindingInput in interface javax.wsdl.Definition
      • createBindingOperation

        public javax.wsdl.BindingOperation createBindingOperation()
        Specified by:
        createBindingOperation in interface javax.wsdl.Definition
      • createBindingOutput

        public javax.wsdl.BindingOutput createBindingOutput()
        Specified by:
        createBindingOutput in interface javax.wsdl.Definition
      • createFault

        public javax.wsdl.Fault createFault()
        Specified by:
        createFault in interface javax.wsdl.Definition
      • createImport

        public javax.wsdl.Import createImport()
        Specified by:
        createImport in interface javax.wsdl.Definition
      • createInput

        public javax.wsdl.Input createInput()
        Specified by:
        createInput in interface javax.wsdl.Definition
      • createMessage

        public javax.wsdl.Message createMessage()
        Specified by:
        createMessage in interface javax.wsdl.Definition
      • createOperation

        public javax.wsdl.Operation createOperation()
        Specified by:
        createOperation in interface javax.wsdl.Definition
      • createOutput

        public javax.wsdl.Output createOutput()
        Specified by:
        createOutput in interface javax.wsdl.Definition
      • createPart

        public javax.wsdl.Part createPart()
        Specified by:
        createPart in interface javax.wsdl.Definition
      • createPort

        public javax.wsdl.Port createPort()
        Specified by:
        createPort in interface javax.wsdl.Definition
      • createPortType

        public javax.wsdl.PortType createPortType()
        Specified by:
        createPortType in interface javax.wsdl.Definition
      • createService

        public javax.wsdl.Service createService()
        Specified by:
        createService in interface javax.wsdl.Definition
      • createTypes

        public javax.wsdl.Types createTypes()
        Specified by:
        createTypes in interface javax.wsdl.Definition
      • setExtensionRegistry

        public void setExtensionRegistry​(javax.wsdl.extensions.ExtensionRegistry extReg)
        Specified by:
        setExtensionRegistry in interface javax.wsdl.Definition
      • getExtensionRegistry

        public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
        Specified by:
        getExtensionRegistry in interface javax.wsdl.Definition
      • removeExtensibilityElement

        public javax.wsdl.extensions.ExtensibilityElement removeExtensibilityElement​(javax.wsdl.extensions.ExtensibilityElement extElement)
        Specified by:
        removeExtensibilityElement in interface javax.wsdl.extensions.ElementExtensible
      • getExtensionAttribute

        public Object getExtensionAttribute​(QName name)
        Specified by:
        getExtensionAttribute in interface javax.wsdl.extensions.AttributeExtensible
      • getExtensionAttributes

        public Map getExtensionAttributes()
        Specified by:
        getExtensionAttributes in interface javax.wsdl.extensions.AttributeExtensible
      • setExtensionAttribute

        public void setExtensionAttribute​(QName name,
                                          Object value)
        Specified by:
        setExtensionAttribute in interface javax.wsdl.extensions.AttributeExtensible
      • loadResources

        public void loadResources()