public class DefinitionImpl extends AbstractWSDLElement implements Definition
| Modifier and Type | Field and Description |
|---|---|
protected Map |
bindings |
protected String |
documentBaseURI |
protected ExtensionRegistry |
extReg |
protected Map |
imports |
protected Map |
messages |
protected QName |
name |
protected Map |
namespaces |
protected List |
nativeAttributeNames |
protected Map |
portTypes |
static long |
serialVersionUID |
protected Map |
services |
protected String |
targetNamespace |
protected Types |
types |
docEl, extElements, extensionAttributesLIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE| Constructor and Description |
|---|
DefinitionImpl() |
| Modifier and Type | Method and Description |
|---|---|
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(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.
|
Map |
getAllBindings()
Get all the bindings defined in this Definition and
those in any imported Definitions in the WSDL tree.
|
Map |
getAllPortTypes()
Get all the portTypes defined in this Definition and
those in any imported Definitions in the WSDL tree.
|
Map |
getAllServices()
Get all the services defined in this Definition and
those in any imported Definitions in the WSDL tree.
|
Binding |
getBinding(QName name)
Get the specified binding.
|
Map |
getBindings()
Get all the bindings defined in this Definition.
|
String |
getDocumentBaseURI()
Get the document base URI of this definition.
|
ExtensionRegistry |
getExtensionRegistry()
Get a reference to the ExtensionRegistry for this Definition.
|
Map |
getImports()
Get a map of lists containing all the imports defined here.
|
List |
getImports(String namespaceURI)
Get the list of imports for the specified namespaceURI.
|
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.
|
List |
getNativeAttributeNames()
Get the list of local attribute names defined for this element in
the WSDL specification.
|
PortType |
getPortType(QName name)
Get the specified portType.
|
Map |
getPortTypes()
Get all the portTypes defined in this Definition.
|
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 in this Definition.
|
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.
|
String |
removeNamespace(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(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() |
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDocumentationElement, setDocumentationElementgetExtensionAttribute, getExtensionAttributes, setExtensionAttributeaddExtensibilityElement, getExtensibilityElements, removeExtensibilityElementprotected String documentBaseURI
protected QName name
protected String targetNamespace
protected Map namespaces
protected Map imports
protected Types types
protected Map messages
protected Map bindings
protected Map portTypes
protected Map services
protected List nativeAttributeNames
protected ExtensionRegistry extReg
public static final long serialVersionUID
public void setDocumentBaseURI(String documentBaseURI)
setDocumentBaseURI in interface DefinitiondocumentBaseURI - the document base URI of this definitionpublic 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(String targetNamespace)
setTargetNamespace in interface DefinitiontargetNamespace - the target namespacepublic String getTargetNamespace()
getTargetNamespace in interface Definitionpublic void addNamespace(String prefix, 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 String getNamespace(String prefix)
getNamespace in interface DefinitionaddNamespace(String, String),
getPrefix(String)public String removeNamespace(String prefix)
removeNamespace in interface Definitionprefix - the prefix of the namespace to be removed.public String getPrefix(String namespaceURI)
getPrefix in interface DefinitionaddNamespace(String, String),
getNamespace(String)public 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 Import removeImport(Import importDef)
removeImport in interface DefinitionimportDef - the import to be removedpublic List getImports(String namespaceURI)
getImports in interface DefinitionnamespaceURI - the namespaceURI associated with the
desired imports.public 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 removepublic 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 removepublic 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 removepublic 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 removepublic Map getServices()
getServices in interface Definitionpublic 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 String toString()
toString in class AbstractWSDLElementpublic List getNativeAttributeNames()
getNativeAttributeNames in interface AttributeExtensiblepublic Map getAllBindings()
getAllBindings in interface Definitionpublic Map getAllPortTypes()
getAllPortTypes in interface Definitionpublic Map getAllServices()
getAllServices in interface DefinitionCopyright © 2017 JBoss by Red Hat. All rights reserved.