|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.wsdl.util.WSDLWrapperSaveImpl
public class WSDLWrapperSaveImpl
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.
Field Summary |
---|
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible |
---|
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE |
Constructor Summary | |
---|---|
WSDLWrapperSaveImpl(javax.wsdl.Definition def)
Constructor |
|
WSDLWrapperSaveImpl(javax.wsdl.Definition def,
java.net.URL wURL)
Constructor |
Method Summary | |
---|---|
void |
addBinding(javax.wsdl.Binding binding)
|
void |
addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
|
void |
addImport(javax.wsdl.Import importDef)
|
void |
addMessage(javax.wsdl.Message message)
|
void |
addNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
|
void |
addPortType(javax.wsdl.PortType portType)
|
void |
addService(javax.wsdl.Service service)
|
void |
close()
Closes the use of the wrapper implementation and allows internal resources to be released. |
javax.wsdl.Binding |
createBinding()
|
javax.wsdl.BindingFault |
createBindingFault()
|
javax.wsdl.BindingInput |
createBindingInput()
|
javax.wsdl.BindingOperation |
createBindingOperation()
|
javax.wsdl.BindingOutput |
createBindingOutput()
|
javax.wsdl.Fault |
createFault()
|
javax.wsdl.Import |
createImport()
|
javax.wsdl.Input |
createInput()
|
javax.wsdl.Message |
createMessage()
|
javax.wsdl.Operation |
createOperation()
|
javax.wsdl.Output |
createOutput()
|
javax.wsdl.Part |
createPart()
|
javax.wsdl.Port |
createPort()
|
javax.wsdl.PortType |
createPortType()
|
javax.wsdl.Service |
createService()
|
javax.wsdl.Types |
createTypes()
|
java.util.Map |
getAllBindings()
|
java.util.Map |
getAllPortTypes()
|
java.util.Map |
getAllServices()
|
javax.wsdl.Binding |
getBinding(QName name)
|
java.util.Map |
getBindings()
|
org.w3c.dom.Element |
getDocumentationElement()
|
java.lang.String |
getDocumentBaseURI()
|
java.util.List |
getExtensibilityElements()
|
java.lang.Object |
getExtensionAttribute(QName name)
|
java.util.Map |
getExtensionAttributes()
|
javax.wsdl.extensions.ExtensionRegistry |
getExtensionRegistry()
|
java.util.Map |
getImports()
|
java.util.List |
getImports(java.lang.String namespaceURI)
|
javax.wsdl.Message |
getMessage(QName name)
|
java.util.Map |
getMessages()
|
java.lang.String |
getNamespace(java.lang.String prefix)
|
java.util.Map |
getNamespaces()
|
java.util.List |
getNativeAttributeNames()
|
javax.wsdl.PortType |
getPortType(QName name)
|
java.util.Map |
getPortTypes()
|
java.lang.String |
getPrefix(java.lang.String namespaceURI)
|
QName |
getQName()
|
javax.wsdl.Service |
getService(QName name)
|
java.util.Map |
getServices()
|
java.lang.String |
getTargetNamespace()
|
javax.wsdl.Types |
getTypes()
|
javax.wsdl.Definition |
getUnwrappedDefinition()
Returns the WSDL4J Definition object that is being wrapped |
java.lang.String |
getWSDLLocation()
Gets the location for the WSDL4J Definition object that is being wrapped |
void |
loadResources()
|
void |
releaseResources()
|
javax.wsdl.Binding |
removeBinding(QName name)
|
javax.wsdl.extensions.ExtensibilityElement |
removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
|
javax.wsdl.Import |
removeImport(javax.wsdl.Import importDef)
|
javax.wsdl.Message |
removeMessage(QName name)
|
java.lang.String |
removeNamespace(java.lang.String prefix)
|
javax.wsdl.PortType |
removePortType(QName name)
|
javax.wsdl.Service |
removeService(QName name)
|
void |
setDefinitionToWrap(javax.wsdl.Definition d)
Sets the WSDL4J Definition object that is being wrapped |
void |
setDocumentationElement(org.w3c.dom.Element docEl)
|
void |
setDocumentBaseURI(java.lang.String d)
|
void |
setExtensionAttribute(QName name,
java.lang.Object value)
|
void |
setExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry extReg)
|
void |
setQName(QName n)
|
void |
setTargetNamespace(java.lang.String t)
|
void |
setTypes(javax.wsdl.Types types)
|
void |
setWSDLLocation(java.lang.String uriLocation)
Sets the location for the WSDL4J Definition object that is being wrapped |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WSDLWrapperSaveImpl(javax.wsdl.Definition def)
def
- The WSDL Definitionpublic WSDLWrapperSaveImpl(javax.wsdl.Definition def, java.net.URL wURL)
def
- The WSDL DefinitionwURL
- The URL for the wsdlMethod Detail |
---|
public javax.wsdl.Definition getUnwrappedDefinition()
WSDLWrapperImpl
getUnwrappedDefinition
in interface WSDLWrapperImpl
public void setDefinitionToWrap(javax.wsdl.Definition d)
setDefinitionToWrap
in interface WSDLWrapperImpl
d
- the WSDL4J Definition objectpublic void setWSDLLocation(java.lang.String uriLocation)
setWSDLLocation
in interface WSDLWrapperImpl
public java.lang.String getWSDLLocation()
getWSDLLocation
in interface WSDLWrapperImpl
public void close()
close
in interface WSDLWrapperImpl
public void setDocumentBaseURI(java.lang.String d)
setDocumentBaseURI
in interface javax.wsdl.Definition
public java.lang.String getDocumentBaseURI()
getDocumentBaseURI
in interface javax.wsdl.Definition
public void setQName(QName n)
setQName
in interface javax.wsdl.Definition
public QName getQName()
getQName
in interface javax.wsdl.Definition
public void setTargetNamespace(java.lang.String t)
setTargetNamespace
in interface javax.wsdl.Definition
public java.lang.String getTargetNamespace()
getTargetNamespace
in interface javax.wsdl.Definition
public void addNamespace(java.lang.String prefix, java.lang.String namespaceURI)
addNamespace
in interface javax.wsdl.Definition
public java.lang.String removeNamespace(java.lang.String prefix)
removeNamespace
in interface javax.wsdl.Definition
public java.lang.String getNamespace(java.lang.String prefix)
getNamespace
in interface javax.wsdl.Definition
public java.lang.String getPrefix(java.lang.String namespaceURI)
getPrefix
in interface javax.wsdl.Definition
public java.util.Map getNamespaces()
getNamespaces
in interface javax.wsdl.Definition
public java.util.List getNativeAttributeNames()
getNativeAttributeNames
in interface javax.wsdl.extensions.AttributeExtensible
public void setTypes(javax.wsdl.Types types)
setTypes
in interface javax.wsdl.Definition
public javax.wsdl.Types getTypes()
getTypes
in interface javax.wsdl.Definition
public void addImport(javax.wsdl.Import importDef)
addImport
in interface javax.wsdl.Definition
public javax.wsdl.Import removeImport(javax.wsdl.Import importDef)
removeImport
in interface javax.wsdl.Definition
public java.util.List getImports(java.lang.String namespaceURI)
getImports
in interface javax.wsdl.Definition
public java.util.Map getImports()
getImports
in interface javax.wsdl.Definition
public void addMessage(javax.wsdl.Message message)
addMessage
in interface javax.wsdl.Definition
public javax.wsdl.Message getMessage(QName name)
getMessage
in interface javax.wsdl.Definition
public javax.wsdl.Message removeMessage(QName name)
removeMessage
in interface javax.wsdl.Definition
public java.util.Map getMessages()
getMessages
in interface javax.wsdl.Definition
public void addBinding(javax.wsdl.Binding binding)
addBinding
in interface javax.wsdl.Definition
public javax.wsdl.Binding getBinding(QName name)
getBinding
in interface javax.wsdl.Definition
public javax.wsdl.Binding removeBinding(QName name)
removeBinding
in interface javax.wsdl.Definition
public java.util.Map getBindings()
getBindings
in interface javax.wsdl.Definition
public java.util.Map getAllBindings()
getAllBindings
in interface javax.wsdl.Definition
public void addPortType(javax.wsdl.PortType portType)
addPortType
in interface javax.wsdl.Definition
public javax.wsdl.PortType getPortType(QName name)
getPortType
in interface javax.wsdl.Definition
public javax.wsdl.PortType removePortType(QName name)
removePortType
in interface javax.wsdl.Definition
public java.util.Map getPortTypes()
getPortTypes
in interface javax.wsdl.Definition
public java.util.Map getAllPortTypes()
getAllPortTypes
in interface javax.wsdl.Definition
public void addService(javax.wsdl.Service service)
addService
in interface javax.wsdl.Definition
public javax.wsdl.Service getService(QName name)
getService
in interface javax.wsdl.Definition
public javax.wsdl.Service removeService(QName name)
removeService
in interface javax.wsdl.Definition
public java.util.Map getServices()
getServices
in interface javax.wsdl.Definition
public java.util.Map getAllServices()
getAllServices
in interface javax.wsdl.Definition
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement
in interface javax.wsdl.WSDLElement
public org.w3c.dom.Element getDocumentationElement()
getDocumentationElement
in interface javax.wsdl.WSDLElement
public void addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
addExtensibilityElement
in interface javax.wsdl.extensions.ElementExtensible
public java.util.List getExtensibilityElements()
getExtensibilityElements
in interface javax.wsdl.extensions.ElementExtensible
public javax.wsdl.Binding createBinding()
createBinding
in interface javax.wsdl.Definition
public javax.wsdl.BindingFault createBindingFault()
createBindingFault
in interface javax.wsdl.Definition
public javax.wsdl.BindingInput createBindingInput()
createBindingInput
in interface javax.wsdl.Definition
public javax.wsdl.BindingOperation createBindingOperation()
createBindingOperation
in interface javax.wsdl.Definition
public javax.wsdl.BindingOutput createBindingOutput()
createBindingOutput
in interface javax.wsdl.Definition
public javax.wsdl.Fault createFault()
createFault
in interface javax.wsdl.Definition
public javax.wsdl.Import createImport()
createImport
in interface javax.wsdl.Definition
public javax.wsdl.Input createInput()
createInput
in interface javax.wsdl.Definition
public javax.wsdl.Message createMessage()
createMessage
in interface javax.wsdl.Definition
public javax.wsdl.Operation createOperation()
createOperation
in interface javax.wsdl.Definition
public javax.wsdl.Output createOutput()
createOutput
in interface javax.wsdl.Definition
public javax.wsdl.Part createPart()
createPart
in interface javax.wsdl.Definition
public javax.wsdl.Port createPort()
createPort
in interface javax.wsdl.Definition
public javax.wsdl.PortType createPortType()
createPortType
in interface javax.wsdl.Definition
public javax.wsdl.Service createService()
createService
in interface javax.wsdl.Definition
public javax.wsdl.Types createTypes()
createTypes
in interface javax.wsdl.Definition
public void setExtensionRegistry(javax.wsdl.extensions.ExtensionRegistry extReg)
setExtensionRegistry
in interface javax.wsdl.Definition
public javax.wsdl.extensions.ExtensionRegistry getExtensionRegistry()
getExtensionRegistry
in interface javax.wsdl.Definition
public java.lang.String toString()
toString
in class java.lang.Object
public javax.wsdl.extensions.ExtensibilityElement removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement extElement)
removeExtensibilityElement
in interface javax.wsdl.extensions.ElementExtensible
public java.lang.Object getExtensionAttribute(QName name)
getExtensionAttribute
in interface javax.wsdl.extensions.AttributeExtensible
public java.util.Map getExtensionAttributes()
getExtensionAttributes
in interface javax.wsdl.extensions.AttributeExtensible
public void setExtensionAttribute(QName name, java.lang.Object value)
setExtensionAttribute
in interface javax.wsdl.extensions.AttributeExtensible
public void releaseResources()
releaseResources
in interface WSDLWrapperImpl
public void loadResources()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |