|
||||||||||
| 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.schema.api.abstractElmt.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.util.List<B> |
bindings
list of binding |
protected java.net.URI |
documentURI
baseURI |
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 org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl |
namespaceMapper
the namespace context |
protected java.util.List<S> |
services
list of services |
protected T |
types
types |
| Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
documentation, model, parent |
| Constructor Summary | |
|---|---|
AbstractDescriptionImpl()
|
|
AbstractDescriptionImpl(java.net.URI baseURI,
E model,
org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl namespaceMapper,
org.ow2.easywsdl.schema.api.extensions.SchemaLocatorImpl schemaLocator,
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()
|
protected void |
addIncludeElementsInAllList(AbsItfInclude incl)
|
void |
addInterface(I itf)
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(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. |
java.net.URI |
getDocumentBaseURI()
Get the document base URI of this definition. |
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. |
Incl |
getInclude(java.net.URI locationUri)
Get the include of the specified locationURI. |
java.util.List<Incl> |
getIncludes()
Get a map of lists containing all the includes defined here. |
I |
getInterface(javax.xml.namespace.QName name)
Get the specified portType. |
java.util.List<I> |
getInterfaces()
Get all the portTypes defined in this Definition. |
org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl |
getNamespaces()
methods for namespaces |
java.util.Map<java.lang.String,java.lang.String> |
getSchemaLocation()
get the schema location |
org.ow2.easywsdl.schema.api.extensions.SchemaLocatorImpl |
getSchemaLocator()
|
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 |
setDocumentBaseURI(java.net.URI documentURI)
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 |
|---|
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation |
| Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
equals, getParent, getSchema, getTopParent, hashCode, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription |
|---|
createBinding, createDefaultSoapBinding, createImport, createInterface, createService, createTypes, getQName, getTargetNamespace, getVersion, removeBinding, removeImport, removeInclude, removeInterface, removeNamespace, removeService, setQName, setTargetNamespace |
| Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
|---|
addOtherElements, getOtherElements |
| Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
|---|
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation |
| Field Detail |
|---|
protected java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features
protected org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl namespaceMapper
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 documentURI
| Constructor Detail |
|---|
public AbstractDescriptionImpl(java.net.URI baseURI,
E model,
org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl namespaceMapper,
org.ow2.easywsdl.schema.api.extensions.SchemaLocatorImpl schemaLocator,
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
throws WSDLException
internalObject - doc -
WSDLException
public AbstractDescriptionImpl()
throws WSDLException
WSDLException| Method Detail |
|---|
protected void addImportElementsInAllList()
protected void addIncludeElementsInAllList()
protected void addIncludeElementsInAllList(AbsItfInclude incl)
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 Incl getInclude(java.net.URI locationUri)
getInclude 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.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl 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 void addNamespace(java.lang.String prefix,
java.lang.String namespaceURI)
AbsItfDescription
addNamespace 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>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.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 documentURI)
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>public 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 org.ow2.easywsdl.schema.api.extensions.SchemaLocatorImpl getSchemaLocator()
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 | |||||||||