|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a WSDL definition.
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 |
Method Summary | |
void |
addBinding(Binding binding)
Add a binding to this WSDL description. |
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. |
java.util.Map |
getAllBindings()
Get all the bindings defined in this Definition and those in any imported Definitions down the WSDL tree. |
java.util.Map |
getAllPortTypes()
Get all the portTypes defined in this Definition and those in any imported Definitions down the WSDL tree. |
java.util.Map |
getAllServices()
Get all the services defined in this Definition and those in any imported Definitions down the WSDL tree. |
Binding |
getBinding(QName name)
Get the specified binding. |
java.util.Map |
getBindings()
Get all the bindings defined in this Definition. |
java.lang.String |
getDocumentBaseURI()
Get the document base URI of this definition. |
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 in this Definition. |
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 in this Definition. |
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. |
Import |
removeImport(Import importDef)
Remove an import from this WSDL description. |
Message |
removeMessage(QName name)
Remove the specified message from this definition. |
java.lang.String |
removeNamespace(java.lang.String prefix)
Remove the namespace URI associated with this prefix. |
PortType |
removePortType(QName name)
Remove the specified portType from this definition. |
Service |
removeService(QName name)
Remove the specified service from this definition. |
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. |
Methods inherited from interface javax.wsdl.WSDLElement |
getDocumentationElement, setDocumentationElement |
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible |
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute |
Methods inherited from interface javax.wsdl.extensions.ElementExtensible |
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement |
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 removeNamespace(java.lang.String prefix)
prefix
- the prefix of the namespace to be removed.
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 Import removeImport(Import importDef)
importDef
- the import to be removed
public 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()
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()
public java.util.Map getAllBindings()
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()
public java.util.Map getAllPortTypes()
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()
public java.util.Map getAllServices()
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 |