|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a WSDL definition.
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. |
Method Detail |
public void setDocumentBaseURI(java.lang.String documentBaseURI)
documentBaseURI
- the document base URI of this definitionpublic java.lang.String getDocumentBaseURI()
public void setQName(QName name)
name
- the desired namepublic QName getQName()
public void setTargetNamespace(java.lang.String targetNamespace)
targetNamespace
- the target namespacepublic java.lang.String getTargetNamespace()
public void addNamespace(java.lang.String prefix, java.lang.String namespaceURI)
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.public java.lang.String getNamespace(java.lang.String prefix)
addNamespace(String, String)
,
getPrefix(String)
public java.lang.String getPrefix(java.lang.String namespaceURI)
addNamespace(String, String)
,
getNamespace(String)
public java.util.Map getNamespaces()
addNamespace(String, String)
public void setTypes(Types types)
public Types getTypes()
public void addImport(Import importDef)
importDef
- the import to be addedpublic java.util.List getImports(java.lang.String namespaceURI)
namespaceURI
- the namespaceURI associated with the
desired imports.
public java.util.Map getImports()
public void addMessage(Message message)
message
- the message to be addedpublic Message getMessage(QName name)
name
- the name of the desired message.
public Message removeMessage(QName name)
name
- the name of the message to remove
public java.util.Map getMessages()
QName
of the Message
,
the value is the instance of the Message
.
public void addBinding(Binding binding)
binding
- the binding to be addedpublic Binding getBinding(QName name)
name
- the name of the desired binding.
public Binding removeBinding(QName name)
name
- the name of the binding to remove
public java.util.Map getBindings()
QName
of the
Binding
, the value is the instance of the
Binding
.
public void addPortType(PortType portType)
portType
- the portType to be addedpublic PortType getPortType(QName name)
name
- the name of the desired portType.
public PortType removePortType(QName name)
name
- the name of the portType to remove
public java.util.Map getPortTypes()
QName
of the
PortType
, the value is the instance
of the PortType
public void addService(Service service)
service
- the service to be addedpublic Service getService(QName name)
name
- the name of the desired service.
public Service removeService(QName name)
name
- the name of the service to remove
public java.util.Map getServices()
QName
of the
Service
, the value is the instance
of the Service
.
public void setDocumentationElement(org.w3c.dom.Element docEl)
docEl
- the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
public void addExtensibilityElement(ExtensibilityElement extElement)
extElement
- the extensibility element to be addedpublic java.util.List getExtensibilityElements()
public Binding createBinding()
public BindingFault createBindingFault()
public BindingInput createBindingInput()
public BindingOperation createBindingOperation()
public BindingOutput createBindingOutput()
public Fault createFault()
public Import createImport()
public Input createInput()
public Message createMessage()
public Operation createOperation()
public Output createOutput()
public Part createPart()
public Port createPort()
public PortType createPortType()
public Service createService()
public Types createTypes()
public ExtensionRegistry getExtensionRegistry()
public void setExtensionRegistry(ExtensionRegistry extReg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |