|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.wsdl.DefinitionImpl
This class represents a WSDL definition.
| Field Summary | |
|---|---|
protected java.util.Map |
bindings
|
protected org.w3c.dom.Element |
docEl
|
protected java.lang.String |
documentBaseURI
|
protected java.util.List |
extElements
|
protected ExtensionRegistry |
extReg
|
protected java.util.Map |
imports
|
protected java.util.Map |
messages
|
protected QName |
name
|
protected java.util.Map |
namespaces
|
protected java.util.Map |
portTypes
|
static long |
serialVersionUID
|
protected java.util.Map |
services
|
protected java.lang.String |
targetNamespace
|
protected Types |
types
|
| Constructor Summary | |
|---|---|
DefinitionImpl()
|
|
| Method Summary | |
|---|---|
void |
addBinding(Binding binding)
Add a binding to this WSDL description. |
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element. |
void |
addImport(Import importDef)
Add an import to this WSDL description. |
void |
addMessage(Message message)
Add a message to this WSDL description. |
void |
addNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
This is a way to add a namespace association to a definition. |
void |
addPortType(PortType portType)
Add a portType to this WSDL description. |
void |
addService(Service service)
Add a service to this WSDL description. |
Binding |
createBinding()
Create a new binding. |
BindingFault |
createBindingFault()
Create a new binding fault. |
BindingInput |
createBindingInput()
Create a new binding input. |
BindingOperation |
createBindingOperation()
Create a new binding operation. |
BindingOutput |
createBindingOutput()
Create a new binding output. |
Fault |
createFault()
Create a new fault. |
Import |
createImport()
Create a new import. |
Input |
createInput()
Create a new input. |
Message |
createMessage()
Create a new message. |
Operation |
createOperation()
Create a new operation. |
Output |
createOutput()
Create a new output. |
Part |
createPart()
Create a new part. |
Port |
createPort()
Create a new port. |
PortType |
createPortType()
Create a new port type. |
Service |
createService()
Create a new service. |
Types |
createTypes()
Create a new types section. |
Binding |
getBinding(QName name)
Get the specified binding. |
java.util.Map |
getBindings()
Get all the bindings defined here. |
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element. |
java.lang.String |
getDocumentBaseURI()
Get the document base URI of this definition. |
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here. |
ExtensionRegistry |
getExtensionRegistry()
Get a reference to the ExtensionRegistry for this Definition. |
java.util.Map |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List |
getImports(java.lang.String namespaceURI)
Get the list of imports for the specified namespaceURI. |
Message |
getMessage(QName name)
Get the specified message. |
java.util.Map |
getMessages()
Get all the messages defined here. |
java.lang.String |
getNamespace(java.lang.String prefix)
Get the namespace URI associated with this prefix. |
java.util.Map |
getNamespaces()
Get all namespace associations in this definition. |
PortType |
getPortType(QName name)
Get the specified portType. |
java.util.Map |
getPortTypes()
Get all the portTypes defined here. |
java.lang.String |
getPrefix(java.lang.String namespaceURI)
Get a prefix associated with this namespace URI. |
QName |
getQName()
Get the name of this definition. |
Service |
getService(QName name)
Get the specified service. |
java.util.Map |
getServices()
Get all the services defined here. |
java.lang.String |
getTargetNamespace()
Get the target namespace in which the WSDL elements are defined. |
Types |
getTypes()
Get the types section. |
Binding |
removeBinding(QName name)
Remove the specified binding from this definition. |
Message |
removeMessage(QName name)
Remove the specified message from this definition. |
PortType |
removePortType(QName name)
Remove the specified portType from this definition. |
Service |
removeService(QName name)
Remove the specified service from this definition. |
void |
setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document. |
void |
setDocumentBaseURI(java.lang.String documentBaseURI)
Set the document base URI of this definition. |
void |
setExtensionRegistry(ExtensionRegistry extReg)
Set the ExtensionRegistry for this Definition. |
void |
setQName(QName name)
Set the name of this definition. |
void |
setTargetNamespace(java.lang.String targetNamespace)
Set the target namespace in which WSDL elements are defined. |
void |
setTypes(Types types)
Set the types section. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String documentBaseURI
protected QName name
protected java.lang.String targetNamespace
protected java.util.Map namespaces
protected java.util.Map imports
protected Types types
protected java.util.Map messages
protected java.util.Map bindings
protected java.util.Map portTypes
protected java.util.Map services
protected org.w3c.dom.Element docEl
protected java.util.List extElements
protected ExtensionRegistry extReg
public static final long serialVersionUID
| Constructor Detail |
public DefinitionImpl()
| Method Detail |
public void setDocumentBaseURI(java.lang.String documentBaseURI)
setDocumentBaseURI in interface DefinitiondocumentBaseURI - the document base URI of this definitionpublic java.lang.String getDocumentBaseURI()
getDocumentBaseURI in interface Definitionpublic void setQName(QName name)
setQName in interface Definitionname - the desired namepublic QName getQName()
getQName in interface Definitionpublic void setTargetNamespace(java.lang.String targetNamespace)
setTargetNamespace in interface DefinitiontargetNamespace - the target namespacepublic java.lang.String getTargetNamespace()
getTargetNamespace in interface Definition
public void addNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
addNamespace in interface Definitionprefix - the prefix to use for this namespace (when
rendering this information as XML). Use null or an empty string
to describe the default namespace (i.e. xmlns="...").namespaceURI - the namespace URI to associate the prefix
with. If you use null, the namespace association will be removed.public java.lang.String getNamespace(java.lang.String prefix)
getNamespace in interface DefinitionaddNamespace(String, String),
getPrefix(String)public java.lang.String getPrefix(java.lang.String namespaceURI)
getPrefix in interface DefinitionaddNamespace(String, String),
getNamespace(String)public java.util.Map getNamespaces()
getNamespaces in interface DefinitionaddNamespace(String, String)public void setTypes(Types types)
setTypes in interface Definitionpublic Types getTypes()
getTypes in interface Definitionpublic void addImport(Import importDef)
addImport in interface DefinitionimportDef - the import to be addedpublic java.util.List getImports(java.lang.String namespaceURI)
getImports in interface DefinitionnamespaceURI - the namespaceURI associated with the
desired imports.
public java.util.Map getImports()
getImports in interface Definitionpublic void addMessage(Message message)
addMessage in interface Definitionmessage - the message to be addedpublic Message getMessage(QName name)
getMessage in interface Definitionname - the name of the desired message.
public Message removeMessage(QName name)
removeMessage in interface Definitionname - the name of the message to remove
public java.util.Map getMessages()
getMessages in interface Definitionpublic void addBinding(Binding binding)
addBinding in interface Definitionbinding - the binding to be addedpublic Binding getBinding(QName name)
getBinding in interface Definitionname - the name of the desired binding.
public Binding removeBinding(QName name)
removeBinding in interface Definitionname - the name of the binding to remove
public java.util.Map getBindings()
getBindings in interface Definitionpublic void addPortType(PortType portType)
addPortType in interface DefinitionportType - the portType to be addedpublic PortType getPortType(QName name)
getPortType in interface Definitionname - the name of the desired portType.
public PortType removePortType(QName name)
removePortType in interface Definitionname - the name of the portType to remove
public java.util.Map getPortTypes()
getPortTypes in interface Definitionpublic void addService(Service service)
addService in interface Definitionservice - the service to be addedpublic Service getService(QName name)
getService in interface Definitionname - the name of the desired service.
public Service removeService(QName name)
removeService in interface Definitionname - the name of the service to remove
public java.util.Map getServices()
getServices in interface Definitionpublic void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement in interface DefinitiondocEl - the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement in interface Definitionpublic void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement in interface ElementExtensibleextElement - the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements in interface ElementExtensiblepublic Binding createBinding()
createBinding in interface Definitionpublic BindingFault createBindingFault()
createBindingFault in interface Definitionpublic BindingInput createBindingInput()
createBindingInput in interface Definitionpublic BindingOperation createBindingOperation()
createBindingOperation in interface Definitionpublic BindingOutput createBindingOutput()
createBindingOutput in interface Definitionpublic Fault createFault()
createFault in interface Definitionpublic Import createImport()
createImport in interface Definitionpublic Input createInput()
createInput in interface Definitionpublic Message createMessage()
createMessage in interface Definitionpublic Operation createOperation()
createOperation in interface Definitionpublic Output createOutput()
createOutput in interface Definitionpublic Part createPart()
createPart in interface Definitionpublic Port createPort()
createPort in interface Definitionpublic PortType createPortType()
createPortType in interface Definitionpublic Service createService()
createService in interface Definitionpublic Types createTypes()
createTypes in interface Definitionpublic void setExtensionRegistry(ExtensionRegistry extReg)
setExtensionRegistry in interface Definitionpublic ExtensionRegistry getExtensionRegistry()
getExtensionRegistry in interface Definitionpublic java.lang.String toString()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||