public interface Definition extends WSDLElement
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
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 down the WSDL tree.
|
Map |
getAllPortTypes()
Get all the portTypes defined in this Definition and
those in any imported Definitions down the WSDL tree.
|
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.
|
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.
|
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.
|
getDocumentationElement, setDocumentationElement
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
void setDocumentBaseURI(String documentBaseURI)
documentBaseURI
- the document base URI of this definitionString getDocumentBaseURI()
void setQName(QName name)
name
- the desired nameQName getQName()
void setTargetNamespace(String targetNamespace)
targetNamespace
- the target namespaceString getTargetNamespace()
void addNamespace(String prefix, 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.String getNamespace(String prefix)
addNamespace(String, String)
,
getPrefix(String)
String removeNamespace(String prefix)
prefix
- the prefix of the namespace to be removed.String getPrefix(String namespaceURI)
addNamespace(String, String)
,
getNamespace(String)
Map getNamespaces()
addNamespace(String, String)
void setTypes(Types types)
Types getTypes()
void addImport(Import importDef)
importDef
- the import to be addedImport removeImport(Import importDef)
importDef
- the import to be removedList getImports(String namespaceURI)
namespaceURI
- the namespaceURI associated with the
desired imports.Map getImports()
void addMessage(Message message)
message
- the message to be addedMessage getMessage(QName name)
name
- the name of the desired message.Message removeMessage(QName name)
name
- the name of the message to removeMap getMessages()
void addBinding(Binding binding)
binding
- the binding to be addedBinding getBinding(QName name)
name
- the name of the desired binding.Binding removeBinding(QName name)
name
- the name of the binding to removeMap getBindings()
Map getAllBindings()
void addPortType(PortType portType)
portType
- the portType to be addedPortType getPortType(QName name)
name
- the name of the desired portType.PortType removePortType(QName name)
name
- the name of the portType to removeMap getPortTypes()
Map getAllPortTypes()
void addService(Service service)
service
- the service to be addedService getService(QName name)
name
- the name of the desired service.Service removeService(QName name)
name
- the name of the service to removeMap getServices()
Map getAllServices()
Binding createBinding()
BindingFault createBindingFault()
BindingInput createBindingInput()
BindingOperation createBindingOperation()
BindingOutput createBindingOutput()
Fault createFault()
Import createImport()
Input createInput()
Message createMessage()
Operation createOperation()
Output createOutput()
Part createPart()
Port createPort()
PortType createPortType()
Service createService()
Types createTypes()
ExtensionRegistry getExtensionRegistry()
void setExtensionRegistry(ExtensionRegistry extReg)
Copyright © 2017 JBoss by Red Hat. All rights reserved.