|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbsItfDescription<S extends AbsItfService,E extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType,Incl extends AbsItfInclude,Impt extends AbsItfImport,T extends AbsItfTypes>
This interface represents a WSDL definition.
Nested Class Summary | |
---|---|
static class |
AbsItfDescription.WSDLVersionConstants
Constants for WSDL version. |
Method Summary | |
---|---|
void |
addBinding(B binding)
Add a binding to this WSDL description. |
void |
addImport(Impt importDef)
Add an import to this WSDL description. |
void |
addInclude(Incl includeDef)
Add an include to this WSDL description. |
void |
addInterface(I 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(S service)
Add a service to this WSDL description. |
B |
createBinding()
Create a new binding. |
B |
createDefaultSoapBinding(java.lang.String bindingName,
E endpoint,
I itf)
Create default soap binding |
Impt |
createImport()
Create a new import. |
I |
createInterface()
Create a new interface. |
S |
createService()
Create a new service. |
T |
createTypes()
Create a new types section. |
java.util.List<E> |
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.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()
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 |
S |
getService(javax.xml.namespace.QName name)
Get the specified service. |
java.util.List<S> |
getServices()
Get all the services defined in this Definition. |
java.lang.String |
getTargetNamespace()
Get the target namespace in which the WSDL elements are defined. |
T |
getTypes()
Get the types section. |
AbsItfDescription.WSDLVersionConstants |
getVersion()
get the version of the wsdl |
B |
removeBinding(javax.xml.namespace.QName name)
Remove the specified binding from this definition. |
Impt |
removeImport(Impt importDef)
Remove an import from this WSDL description. |
Incl |
removeInclude(Incl includeDef)
Remove an include from this WSDL description. |
I |
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. |
S |
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(T types)
Set the types section. |
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 |
Method Detail |
---|
java.net.URI getDocumentBaseURI()
void setDocumentBaseURI(java.net.URI documentBaseURI)
void setQName(javax.xml.namespace.QName name) throws WSDLException
name
- the desired name
WSDLException
javax.xml.namespace.QName getQName() throws WSDLException
WSDLException
void 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.
org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl getNamespaces()
addNamespace(String, String)
void setTypes(T types)
T getTypes()
void addImport(Impt importDef)
importDef
- the import to be addedImpt removeImport(Impt importDef)
importDef
- the import to be removed
java.util.List<Impt> getImports(java.lang.String namespaceURI)
namespaceURI
- the namespaceURI associated with the desired imports.
java.util.List<Impt> getImports()
void addInclude(Incl includeDef) throws WSDLException
includeDef
- the include to be added
WSDLException
Incl removeInclude(Incl includeDef) throws WSDLException
includeDef
- the include to be removed
WSDLException
Incl getInclude(java.net.URI locationURI)
locationURI
- the locationURI associated with the desired includes.
java.util.List<Incl> getIncludes()
void addBinding(B binding)
binding
- the binding to be addedB getBinding(javax.xml.namespace.QName name)
name
- the name of the desired binding.
B removeBinding(javax.xml.namespace.QName name)
name
- the name of the binding to remove
java.util.List<B> getBindings()
void addService(S service)
service
- the service to be addedS getService(javax.xml.namespace.QName name)
name
- the name of the desired service.
S removeService(javax.xml.namespace.QName name)
name
- the name of the service to remove
java.util.List<S> getServices()
B createBinding()
Impt createImport() throws WSDLException, WSDLImportException
WSDLException
WSDLImportException
- if the import can't be correctly parsedI createInterface()
S createService()
T createTypes()
AbsItfDescription.WSDLVersionConstants getVersion()
java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
void addInterface(I interfaceType)
abstractInterfaceType
- the portType to be addedI getInterface(javax.xml.namespace.QName name)
name
- the name of the desired portType.
I removeInterface(javax.xml.namespace.QName name)
name
- the name of the portType to remove
java.util.List<I> getInterfaces()
B createDefaultSoapBinding(java.lang.String bindingName, E endpoint, I itf)
java.util.List<E> findEndpointsImplementingInterface(I itf)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |