|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.xml.impl.AbstractXMLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractDescriptionImpl<E,S,Ep,B,I,Incl,Impt,T>
public abstract class AbstractDescriptionImpl<E,S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription |
|---|
AbsItfDescription.WSDLVersionConstants |
| Field Summary | |
|---|---|
protected java.net.URI |
baseURI
baseURI |
protected java.util.List<B> |
bindings
list of binding |
protected org.jdom.Document |
document
the jdom document |
protected java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> |
features
Features |
protected java.util.List<Impt> |
imports
list of imports |
protected java.util.List<Incl> |
includes
list of includes |
protected java.util.List<I> |
interfaces
list of interface |
protected javax.xml.namespace.NamespaceContext |
namespaceContext
the namespace context |
protected java.util.Map<java.lang.String,java.lang.String> |
schemaLocations
schema location |
protected java.util.List<S> |
services
list of services |
protected T |
types
types |
| Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
|---|
documentation |
| Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
model, parent |
| Constructor Summary | |
|---|---|
AbstractDescriptionImpl()
|
|
AbstractDescriptionImpl(java.net.URI baseURI,
E model,
org.jdom.Document doc,
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
|
|
| Method Summary | |
|---|---|
void |
addBinding(B binding)
BindingImpl operation |
void |
addImport(Impt impt)
ImportImpl operation |
protected void |
addImportElementsInAllList()
|
void |
addInclude(Incl incl)
IncludeImpl operation |
protected void |
addIncludeElementsInAllList()
|
void |
addInterface(I itf)
Interface operation |
void |
addService(S service)
ServiceImpl operation |
java.util.List<Ep> |
findEndpointsImplementingInterface(I itf)
|
B |
getBinding(javax.xml.namespace.QName name)
Get the specified binding. |
java.util.List<B> |
getBindings()
Get all the bindings defined in this Definition. |
org.jdom.Document |
getDocument()
|
java.net.URI |
getDocumentBaseURI()
methods for baseURI |
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> |
getFeatures()
|
java.lang.Object |
getFeatureValue(WSDLReader.FeatureConstants feature)
|
java.util.List<Impt> |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List<Impt> |
getImports(java.lang.String namespaceUri)
Get the list of imports for the specified namespaceURI. |
java.util.List<Incl> |
getIncludes()
Get a map of lists containing all the includes defined here. |
java.util.List<Incl> |
getIncludes(java.lang.String locationUri)
Get the list of includes for the specified locationURI. |
I |
getInterface(javax.xml.namespace.QName name)
Get the specified portType. |
java.util.List<I> |
getInterfaces()
Get all the portTypes defined in this Definition. |
javax.xml.namespace.NamespaceContext |
getNamespaces()
methods for namespaces |
java.util.Map<java.lang.String,java.lang.String> |
getSchemaLocation()
get the schema location |
S |
getService(javax.xml.namespace.QName name)
Get the specified service. |
java.util.List<S> |
getServices()
Get all the services defined in this Definition. |
T |
getTypes()
Get the types section. |
void |
setDocument(org.jdom.Document document)
|
void |
setDocumentBaseURI(java.net.URI documentBaseURI)
Set the document base URI of this definition. |
void |
setFeatures(java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
|
void |
setTypes(T types)
Set the types section. |
java.lang.String |
toString()
|
| Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
|---|
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation |
| Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
getParent, getSchema, getTopParent, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription |
|---|
addNamespace, createBinding, createDefaultSoapBinding, createImport, createInterface, createService, createTypes, getQName, getTargetNamespace, getVersion, removeBinding, removeImport, removeInclude, removeInterface, removeNamespace, removeService, setQName, setTargetNamespace |
| Methods inherited from interface org.ow2.easywsdl.xml.api.XMLElement |
|---|
getOtherElements |
| Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
|---|
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
| Field Detail |
|---|
protected java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features
protected javax.xml.namespace.NamespaceContext namespaceContext
protected org.jdom.Document document
protected java.util.List<Impt extends AbsItfImport<? extends AbsItfDescription>> imports
protected java.util.List<Incl extends AbsItfInclude<? extends AbsItfDescription>> includes
protected java.util.List<S extends AbsItfService<I,? extends AbsItfEndpoint>> services
protected java.util.List<B extends AbsItfBinding> bindings
protected java.util.List<I extends AbsItfInterfaceType<? extends AbsItfOperation>> interfaces
protected T extends AbsItfTypes types
protected java.net.URI baseURI
protected java.util.Map<java.lang.String,java.lang.String> schemaLocations
| Constructor Detail |
|---|
public AbstractDescriptionImpl(java.net.URI baseURI,
E model,
org.jdom.Document doc,
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
throws WSDLException
schema - doc -
WSDLException
public AbstractDescriptionImpl()
throws WSDLException
WSDLException| Method Detail |
|---|
protected void addImportElementsInAllList()
protected void addIncludeElementsInAllList()
public void addImport(Impt impt)
addImport in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>impt - the import to be addedpublic java.util.List<Impt> getImports()
AbsItfDescription
getImports in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public java.util.List<Impt> getImports(java.lang.String namespaceUri)
AbsItfDescription
getImports in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>namespaceUri - the namespaceURI associated with the desired imports.
public void addInclude(Incl incl)
throws WSDLException
addInclude in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>incl - the include to be added
WSDLExceptionpublic java.util.List<Incl> getIncludes()
AbsItfDescription
getIncludes in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public java.util.List<Incl> getIncludes(java.lang.String locationUri)
AbsItfDescription
getIncludes in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>locationUri - the locationURI associated with the desired includes.
public void addService(S service)
addService in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>service - the service to be addedpublic java.util.List<S> getServices()
AbsItfDescription
getServices in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public S getService(javax.xml.namespace.QName name)
AbsItfDescription
getService in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>name - the name of the desired service.
public void addBinding(B binding)
addBinding in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>binding - the binding to be addedpublic java.util.List<B> getBindings()
AbsItfDescription
getBindings in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public B getBinding(javax.xml.namespace.QName name)
AbsItfDescription
getBinding in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>name - the name of the desired binding.
public void addInterface(I itf)
addInterface in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public java.util.List<I> getInterfaces()
AbsItfDescription
getInterfaces in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public I getInterface(javax.xml.namespace.QName name)
AbsItfDescription
getInterface in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>name - the name of the desired portType.
public java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
public java.lang.Object getFeatureValue(WSDLReader.FeatureConstants feature)
public void setFeatures(java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
features - the features to setpublic T getTypes()
AbsItfDescription
getTypes in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public void setTypes(T types)
AbsItfDescription
setTypes in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public org.jdom.Document getDocument()
public void setDocument(org.jdom.Document document)
document - the document to setpublic javax.xml.namespace.NamespaceContext getNamespaces()
getNamespaces in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>AbsItfDescription.addNamespace(String, String)public java.net.URI getDocumentBaseURI()
getDocumentBaseURI in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public void setDocumentBaseURI(java.net.URI documentBaseURI)
AbsItfDescription
setDocumentBaseURI in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>documentBaseURI - the document base URI of this definitionpublic java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
AbsItfDescription
getSchemaLocation in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public java.util.List<Ep> findEndpointsImplementingInterface(I itf)
findEndpointsImplementingInterface in interface AbsItfDescription<S extends AbsItfService<I,? extends AbsItfEndpoint>,Ep extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Incl extends AbsItfInclude<? extends AbsItfDescription>,Impt extends AbsItfImport<? extends AbsItfDescription>,T extends AbsItfTypes>public java.lang.String toString()
toString in class AbstractWSDLElementImpl<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||