com.ibm.wsdl
public class DefinitionImpl extends Object implements Definition
Field Summary | |
---|---|
protected Map | bindings |
protected Element | docEl |
protected String | documentBaseURI |
protected List | extElements |
protected ExtensionRegistry | extReg |
protected Map | imports |
protected Map | messages |
protected QName | name |
protected Map | namespaces |
protected Map | portTypes |
static long | serialVersionUID |
protected Map | services |
protected String | targetNamespace |
protected Types | types |
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(String prefix, 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. |
Map | getBindings()
Get all the bindings defined here. |
Element | getDocumentationElement()
Get the documentation element. |
String | getDocumentBaseURI()
Get the document base URI of this definition.
|
List | getExtensibilityElements()
Get all the extensibility elements defined here. |
ExtensionRegistry | getExtensionRegistry()
Get a reference to the ExtensionRegistry for this Definition. |
List | getImports(String namespaceURI)
Get the list of imports for the specified namespaceURI.
|
Map | getImports()
Get a map of lists containing all the imports defined here.
|
Message | getMessage(QName name)
Get the specified message. |
Map | getMessages()
Get all the messages defined here. |
String | getNamespace(String prefix)
Get the namespace URI associated with this prefix. |
Map | getNamespaces()
Get all namespace associations in this definition. |
PortType | getPortType(QName name)
Get the specified portType. |
Map | getPortTypes()
Get all the portTypes defined here. |
String | getPrefix(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. |
Map | getServices()
Get all the services defined here. |
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(Element docEl)
Set the documentation element for this document. |
void | setDocumentBaseURI(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(String targetNamespace)
Set the target namespace in which WSDL elements are defined.
|
void | setTypes(Types types)
Set the types section. |
String | toString() |
Parameters: binding the binding to be added
Parameters: extElement the extensibility element to be added
Parameters: importDef the import to be added
Parameters: message the message to be added
Parameters: prefix 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.
Parameters: portType the portType to be added
Parameters: service the service to be added
Returns: the newly created binding
Returns: the newly created binding fault
Returns: the newly created binding input
Returns: the newly created binding operation
Returns: the newly created binding output
Returns: the newly created fault
Returns: the newly created import
Returns: the newly created input
Returns: the newly created message
Returns: the newly created operation
Returns: the newly created output
Returns: the newly created part
Returns: the newly created port
Returns: the newly created port type
Returns: the newly created service
Returns: the newly created types section
Parameters: name the name of the desired binding.
Returns: the corresponding binding, or null if there wasn't any matching binding
Returns: the documentation element
Returns: the document base URI
Parameters: namespaceURI the namespaceURI associated with the desired imports.
Returns: a list of the corresponding imports, or null if there weren't any matching imports
Parameters: name the name of the desired message.
Returns: the corresponding message, or null if there wasn't any matching message
See Also: DefinitionImpl getPrefix
See Also: DefinitionImpl
Parameters: name the name of the desired portType.
Returns: the corresponding portType, or null if there wasn't any matching portType
See Also: DefinitionImpl getNamespace
Returns: the definition name
Parameters: name the name of the desired service.
Returns: the corresponding service, or null if there wasn't any matching service
Returns: the target namespace
Returns: the types section
Parameters: name the name of the binding to remove
Returns: the binding previously associated with this qname, if there was one; may return null
Parameters: name the name of the message to remove
Returns: the message previously associated with this qname, if there was one; may return null
Parameters: name the name of the portType to remove
Returns: the portType previously associated with this qname, if there was one; may return null
Parameters: name the name of the service to remove
Returns: the service previously associated with this qname, if there was one; may return null
Parameters: docEl the documentation element
Parameters: documentBaseURI the document base URI of this definition
Parameters: name the desired name
Parameters: targetNamespace the target namespace