|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractDescriptionImpl<TDefinitions>
com.ebmwebsourcing.commons.wsdl.impl.wsdl11.DescriptionImpl
public class DescriptionImpl
| Field Summary |
|---|
| Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractDescriptionImpl |
|---|
baseURI, bindings, document, features, imports, includes, interfaces, namespaceContext, schemaLocations, services, types |
| Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
|---|
documentation, model |
| Constructor Summary | |
|---|---|
DescriptionImpl(java.net.URI baseURI,
TDefinitions definition,
org.jdom.Document document,
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
|
|
| Method Summary | |
|---|---|
void |
addBinding(Binding binding)
BindingImpl operation |
void |
addInclude(Include incl)
IncludeImpl operation |
void |
addInterface(InterfaceType interfaceType)
Interface operation |
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)
ServiceImpl operation |
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. |
java.util.List<TMessage> |
getMessages()
|
javax.xml.namespace.QName |
getQName()
Get the name of this definition. |
java.lang.String |
getTargetNamespace()
Get the target namespace in which the WSDL elements are defined. |
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 |
setMessages(java.util.List<TMessage> messages)
|
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. |
| Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractDescriptionImpl |
|---|
addImport, addImportElementsInAllList, addIncludeElementsInAllList, getBinding, getBindings, getDocument, getDocumentBaseURI, getFeatures, getFeatureValue, getImports, getImports, getIncludes, getIncludes, getInterface, getInterfaces, getNamespaces, getSchemaLocation, getService, getServices, getTypes, setDocument, setDocumentBaseURI, setFeatures, setTypes, toString |
| Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
|---|
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.Description |
|---|
addImport, getBinding, getBindings, getDocumentBaseURI, getImports, getImports, getIncludes, getIncludes, getInterface, getInterfaces, getNamespaces, getSchemaLocation, getService, getServices, getTypes, setDocumentBaseURI, setTypes |
| Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement |
|---|
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation |
| Constructor Detail |
|---|
public DescriptionImpl(java.net.URI baseURI,
TDefinitions definition,
org.jdom.Document document,
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
throws WSDLException
WSDLException| Method Detail |
|---|
public void addBinding(Binding binding)
AbstractDescriptionImpl
addBinding in interface DescriptionaddBinding in class AbstractDescriptionImpl<TDefinitions>binding - the binding to be added
public void addNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
Description
addNamespace in interface Descriptionprefix - 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 void addInterface(InterfaceType interfaceType)
AbstractDescriptionImpl
addInterface in interface DescriptionaddInterface in class AbstractDescriptionImpl<TDefinitions>interfaceType - the portType to be addedpublic void addService(Service service)
AbstractDescriptionImpl
addService in interface DescriptionaddService in class AbstractDescriptionImpl<TDefinitions>service - the service to be addedpublic Binding createBinding()
Description
createBinding in interface Descriptionpublic BindingFault createBindingFault()
Description
createBindingFault in interface Descriptionpublic BindingOperation createBindingOperation()
Description
createBindingOperation in interface Descriptionpublic Fault createFault()
Description
createFault in interface Descriptionpublic Import createImport()
Description
createImport in interface Descriptionpublic Input createInput()
Description
createInput in interface Descriptionpublic Operation createOperation()
Description
createOperation in interface Descriptionpublic Output createOutput()
Description
createOutput in interface Descriptionpublic Part createPart()
Description
createPart in interface Descriptionpublic Endpoint createEndpoint()
Description
createEndpoint in interface Descriptionpublic InterfaceType createInterface()
Description
createInterface in interface Descriptionpublic Service createService()
Description
createService in interface Descriptionpublic Types createTypes()
Description
createTypes in interface Descriptionpublic javax.xml.namespace.QName getQName()
Description
getQName in interface Descriptionpublic java.lang.String getTargetNamespace()
Description
getTargetNamespace in interface Descriptionpublic Binding removeBinding(javax.xml.namespace.QName name)
Description
removeBinding in interface Descriptionname - the name of the binding to remove
public Import removeImport(Import importDef)
Description
removeImport in interface DescriptionimportDef - the import to be removed
public java.lang.String removeNamespace(java.lang.String prefix)
Description
removeNamespace in interface Descriptionprefix - the prefix of the namespace to be removed.
public InterfaceType removeInterface(javax.xml.namespace.QName name)
Description
removeInterface in interface Descriptionname - the name of the portType to remove
public Service removeService(javax.xml.namespace.QName name)
Description
removeService in interface Descriptionname - the name of the service to remove
public void setQName(javax.xml.namespace.QName name)
Description
setQName in interface Descriptionname - the desired namepublic void setTargetNamespace(java.lang.String targetNamespace)
Description
setTargetNamespace in interface DescriptiontargetNamespace - the target namespace
public void addInclude(Include incl)
throws WSDLException
AbstractDescriptionImpl
addInclude in interface DescriptionaddInclude in class AbstractDescriptionImpl<TDefinitions>incl - the include to be added
WSDLException
public Include removeInclude(Include includeDef)
throws WSDLException
Description
removeInclude in interface DescriptionincludeDef - the include to be removed
WSDLExceptionpublic Constants.WSDLVersionConstants getVersion()
Description
getVersion in interface Descriptionpublic java.util.List<TMessage> getMessages()
public void setMessages(java.util.List<TMessage> messages)
messages - the messages to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||