|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Description
This interface represents a WSDL definition.
| 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 |
addInclude(Include includeDef)
Add an include to this WSDL description. |
void |
addInterface(InterfaceType interfaceType)
Add a portType 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 |
addService(Service service)
Add a service to this WSDL description. |
Binding |
createBinding()
Create a new binding. |
BindingFault |
createBindingFault()
Create a new binding fault. |
BindingOperation |
createBindingOperation()
Create a new binding operation. |
Endpoint |
createEndpoint()
Create a new endpoint. |
Fault |
createFault()
Create a new fault. |
Import |
createImport()
Create a new import. |
Input |
createInput()
Create a new input. |
InterfaceType |
createInterface()
Create a new interface. |
Operation |
createOperation()
Create a new operation. |
Output |
createOutput()
Create a new output. |
Part |
createPart()
Create a new part. |
Service |
createService()
Create a new service. |
Types |
createTypes()
Create a new types section. |
Binding |
getBinding(javax.xml.namespace.QName name)
Get the specified binding. |
java.util.List<Binding> |
getBindings()
Get all the bindings defined in this Definition. |
java.net.URI |
getDocumentBaseURI()
Get the document base URI of this definition. |
java.util.List<Import> |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List<Import> |
getImports(java.lang.String namespaceURI)
Get the list of imports for the specified namespaceURI. |
java.util.List<Include> |
getIncludes()
Get a map of lists containing all the includes defined here. |
java.util.List<Include> |
getIncludes(java.lang.String locationURI)
Get the list of includes for the specified locationURI. |
InterfaceType |
getInterface(javax.xml.namespace.QName name)
Get the specified portType. |
java.util.List<InterfaceType> |
getInterfaces()
Get all the portTypes defined in this Definition. |
javax.xml.namespace.NamespaceContext |
getNamespaces()
Get all namespace associations in this definition. |
javax.xml.namespace.QName |
getQName()
Get the name of this definition. |
java.util.Map<java.lang.String,java.lang.String> |
getSchemaLocation()
get the schema location |
Service |
getService(javax.xml.namespace.QName name)
Get the specified service. |
java.util.List<Service> |
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. |
Constants.WSDLVersionConstants |
getVersion()
get the version of the wsdl |
Binding |
removeBinding(javax.xml.namespace.QName name)
Remove the specified binding from this definition. |
Import |
removeImport(Import importDef)
Remove an import from this WSDL description. |
Include |
removeInclude(Include includeDef)
Remove an include from this WSDL description. |
InterfaceType |
removeInterface(javax.xml.namespace.QName name)
Remove the specified portType from this definition. |
java.lang.String |
removeNamespace(java.lang.String prefix)
Remove the namespace URI associated with this prefix. |
Service |
removeService(javax.xml.namespace.QName name)
Remove the specified service from this definition. |
void |
setDocumentBaseURI(java.net.URI documentBaseURI)
Set the document base URI of this definition. |
void |
setQName(javax.xml.namespace.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 com.ebmwebsourcing.commons.wsdl.api.WSDLElement |
|---|
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation |
| Method Detail |
|---|
void setDocumentBaseURI(java.net.URI documentBaseURI)
documentBaseURI - the document base URI of this definitionjava.net.URI getDocumentBaseURI()
void setQName(javax.xml.namespace.QName name)
throws WSDLException
name - the desired name
WSDLException
javax.xml.namespace.QName getQName()
throws WSDLException
WSDLExceptionvoid setTargetNamespace(java.lang.String targetNamespace)
targetNamespace - the target namespacejava.lang.String getTargetNamespace()
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.java.lang.String removeNamespace(java.lang.String prefix)
prefix - the prefix of the namespace to be removed.
javax.xml.namespace.NamespaceContext 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 removed
java.util.List<Import> getImports(java.lang.String namespaceURI)
namespaceURI - the namespaceURI associated with the desired imports.
java.util.List<Import> getImports()
void addInclude(Include includeDef)
throws WSDLException
includeDef - the include to be added
WSDLException
Include removeInclude(Include includeDef)
throws WSDLException
includeDef - the include to be removed
WSDLExceptionjava.util.List<Include> getIncludes(java.lang.String locationURI)
locationURI - the locationURI associated with the desired includes.
java.util.List<Include> getIncludes()
void addBinding(Binding binding)
binding - the binding to be addedBinding getBinding(javax.xml.namespace.QName name)
name - the name of the desired binding.
Binding removeBinding(javax.xml.namespace.QName name)
name - the name of the binding to remove
java.util.List<Binding> getBindings()
void addInterface(InterfaceType interfaceType)
interfaceType - the portType to be addedInterfaceType getInterface(javax.xml.namespace.QName name)
name - the name of the desired portType.
InterfaceType removeInterface(javax.xml.namespace.QName name)
name - the name of the portType to remove
java.util.List<InterfaceType> getInterfaces()
void addService(Service service)
service - the service to be addedService getService(javax.xml.namespace.QName name)
name - the name of the desired service.
Service removeService(javax.xml.namespace.QName name)
name - the name of the service to remove
java.util.List<Service> getServices()
Binding createBinding()
BindingFault createBindingFault()
BindingOperation createBindingOperation()
Fault createFault()
Import createImport()
Input createInput()
Operation createOperation()
Output createOutput()
Part createPart()
Endpoint createEndpoint()
InterfaceType createInterface()
Service createService()
Types createTypes()
Constants.WSDLVersionConstants getVersion()
java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||