|
||||||||||
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<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
org.ow2.easywsdl.wsdl.impl.wsdl11.DescriptionImpl
public class DescriptionImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription |
---|
AbsItfDescription.WSDLVersionConstants |
Field Summary |
---|
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractDescriptionImpl |
---|
bindings, documentURI, features, imports, includes, interfaces, namespaceMapper, services, types |
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
---|
documentation, model, parent |
Constructor Summary | |
---|---|
DescriptionImpl()
|
|
DescriptionImpl(java.net.URI baseURI,
TDefinitions definition,
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,
java.util.Map<java.net.URI,AbsItfDescription> descriptionImports,
java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports,
WSDLReaderImpl reader)
|
Method Summary | |
---|---|
void |
addBinding(Binding binding)
BindingImpl operation |
void |
addImport(Import impt)
ImportImpl operation |
void |
addInclude(Include incl)
IncludeImpl operation |
void |
addInterface(InterfaceType interfaceType)
Interface operation |
void |
addOtherElements(org.w3c.dom.Element elmt)
|
void |
addService(Service service)
ServiceImpl operation |
Binding |
createBinding()
Create a new binding. |
Binding |
createDefaultSoapBinding(java.lang.String bindingName,
Endpoint endpoint,
InterfaceType itf)
Create default soap binding |
Import |
createImport()
Create a new import. |
InterfaceType |
createInterface()
Create a new interface. |
Service |
createService()
Create a new service. |
Types |
createTypes()
Create a new types section. |
java.util.List<MessageImpl> |
findAllMessages(AbsItfDescription parent)
|
MessageImpl |
getMessage(javax.xml.namespace.QName name)
|
java.util.List<MessageImpl> |
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. |
AbsItfDescription.WSDLVersionConstants |
getVersion()
get the version of the wsdl |
void |
removeAllMessages()
|
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<MessageImpl> 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. |
void |
setTypes(Types types)
Set the types section. |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractDescriptionImpl |
---|
addImportElementsInAllList, addIncludeElementsInAllList, addNamespace, findEndpointsImplementingInterface, getBinding, getBindings, getDocumentBaseURI, getFeatures, getFeatureValue, getImports, getImports, getInclude, getIncludes, getInterface, getInterfaces, getNamespaces, getSchemaLocation, getSchemaLocator, getService, getServices, getTypes, setDocumentBaseURI, setFeatures, toString |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl |
---|
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 |
---|
addNamespace, findEndpointsImplementingInterface, getBinding, getBindings, getDocumentBaseURI, getImports, getImports, getInclude, getIncludes, getInterface, getInterfaces, getNamespaces, getSchemaLocation, getService, getServices, getTypes, setDocumentBaseURI |
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement |
---|
getOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
---|
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation |
Constructor Detail |
---|
public DescriptionImpl(java.net.URI baseURI, TDefinitions definition, 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, java.util.Map<java.net.URI,AbsItfDescription> descriptionImports, java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports, WSDLReaderImpl reader) throws WSDLException, WSDLImportException
WSDLException
WSDLImportException
public DescriptionImpl() throws WSDLException
WSDLException
Method Detail |
---|
public java.util.List<MessageImpl> findAllMessages(AbsItfDescription parent)
public void addBinding(Binding binding)
AbstractDescriptionImpl
addBinding
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
addBinding
in class AbstractDescriptionImpl<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
binding
- the binding to be addedpublic void addInterface(InterfaceType interfaceType)
AbstractDescriptionImpl
addInterface
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
addInterface
in class AbstractDescriptionImpl<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public void addService(Service service)
AbstractDescriptionImpl
addService
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
addService
in class AbstractDescriptionImpl<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
service
- the service to be addedpublic Binding createBinding()
AbsItfDescription
createBinding
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public Import createImport() throws WSDLException, WSDLImportException
AbsItfDescription
createImport
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
WSDLException
WSDLImportException
- if the import can't be correctly parsedpublic void addImport(Import impt)
AbstractDescriptionImpl
addImport
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
addImport
in class AbstractDescriptionImpl<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
impt
- the import to be addedpublic InterfaceType createInterface()
AbsItfDescription
createInterface
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public Service createService()
AbsItfDescription
createService
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public Types createTypes()
AbsItfDescription
createTypes
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public void setTypes(Types types)
AbsItfDescription
setTypes
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
setTypes
in class AbstractDescriptionImpl<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public javax.xml.namespace.QName getQName()
AbsItfDescription
getQName
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public java.lang.String getTargetNamespace()
AbsItfDescription
getTargetNamespace
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public Binding removeBinding(javax.xml.namespace.QName name)
AbsItfDescription
removeBinding
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
name
- the name of the binding to remove
public Import removeImport(Import importDef)
AbsItfDescription
removeImport
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
importDef
- the import to be removed
public java.lang.String removeNamespace(java.lang.String prefix)
AbsItfDescription
removeNamespace
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
prefix
- the prefix of the namespace to be removed.
public InterfaceType removeInterface(javax.xml.namespace.QName name)
AbsItfDescription
removeInterface
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
name
- the name of the portType to remove
public Service removeService(javax.xml.namespace.QName name)
AbsItfDescription
removeService
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
name
- the name of the service to remove
public void setQName(javax.xml.namespace.QName name)
AbsItfDescription
setQName
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
name
- the desired namepublic void setTargetNamespace(java.lang.String targetNamespace)
AbsItfDescription
setTargetNamespace
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
targetNamespace
- the target namespacepublic void addInclude(Include incl) throws WSDLException
AbstractDescriptionImpl
addInclude
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
addInclude
in class AbstractDescriptionImpl<TDefinitions,Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
incl
- the include to be added
WSDLException
public Include removeInclude(Include includeDef) throws WSDLException
AbsItfDescription
removeInclude
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
includeDef
- the include to be removed
WSDLException
public AbsItfDescription.WSDLVersionConstants getVersion()
AbsItfDescription
getVersion
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public java.util.List<MessageImpl> getMessages()
public MessageImpl getMessage(javax.xml.namespace.QName name)
public void removeAllMessages()
public void setMessages(java.util.List<MessageImpl> messages)
messages
- the messages to setpublic Binding createDefaultSoapBinding(java.lang.String bindingName, Endpoint endpoint, InterfaceType itf)
AbsItfDescription
createDefaultSoapBinding
in interface AbsItfDescription<Service,Endpoint,Binding,InterfaceType,Include,Import,Types>
public void addOtherElements(org.w3c.dom.Element elmt)
addOtherElements
in interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements
in class AbstractWSDLElementImpl<TDefinitions>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |