|
||||||||||
| 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<DescriptionType>
com.ebmwebsourcing.commons.wsdl.impl.wsdl20.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,
DescriptionType description,
org.jdom.Document document,
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
|
|
| Method Summary | |
|---|---|
void |
addBinding(Binding binding)
BindingImpl operation |
void |
addImport(Import importDef)
ImportImpl 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<org.w3c.dom.Element> |
getOtherElements()
Get all the extensibility elements defined here. |
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 |
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 class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractDescriptionImpl |
|---|
addImportElementsInAllList, addInclude, addIncludeElementsInAllList, getBinding, getBindings, getDocument, getDocumentBaseURI, getFeatures, getFeatureValue, getImports, getImports, getIncludes, getIncludes, getInterface, getInterfaces, getNamespaces, getSchemaLocation, getService, getServices, getTypes, setDocument, setDocumentBaseURI, setFeatures, toString |
| Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
|---|
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, 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 |
|---|
addInclude, getBinding, getBindings, getDocumentBaseURI, getImports, getImports, getIncludes, getIncludes, getInterface, getInterfaces, getNamespaces, getSchemaLocation, getService, getServices, getTypes, setDocumentBaseURI |
| Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement |
|---|
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
| Constructor Detail |
|---|
public DescriptionImpl(java.net.URI baseURI,
DescriptionType description,
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<DescriptionType>binding - the binding to be addedpublic void addImport(Import importDef)
AbstractDescriptionImpl
addImport in interface DescriptionaddImport in class AbstractDescriptionImpl<DescriptionType>importDef - the import 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<DescriptionType>interfaceType - the portType to be addedpublic void addService(Service service)
AbstractDescriptionImpl
addService in interface DescriptionaddService in class AbstractDescriptionImpl<DescriptionType>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 Description
public javax.xml.namespace.QName getQName()
throws WSDLException
Description
getQName in interface DescriptionWSDLExceptionpublic 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)
throws WSDLException
Description
setQName in interface Descriptionname - the desired name
WSDLExceptionpublic void setTargetNamespace(java.lang.String targetNamespace)
Description
setTargetNamespace in interface DescriptiontargetNamespace - the target namespacepublic void setTypes(Types types)
Description
setTypes in interface DescriptionsetTypes in class AbstractDescriptionImpl<DescriptionType>public Include removeInclude(Include includeDef)
Description
removeInclude in interface DescriptionincludeDef - the include to be removed
public Constants.WSDLVersionConstants getVersion()
Description
getVersion in interface Description
public java.util.List<org.w3c.dom.Element> getOtherElements()
throws WSDLException
AbstractWSDLElementImpl
getOtherElements in interface WSDLElementgetOtherElements in class AbstractWSDLElementImpl<DescriptionType>WSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||