org.apache.woden.internal.wsdl20
Class DescriptionImpl
java.lang.Object
org.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.WSDLComponentImpl
org.apache.woden.internal.wsdl20.DescriptionImpl
- All Implemented Interfaces:
- Description, AttributeExtensible, ElementExtensible, PropertyExtensible, WSDLComponent, DescriptionElement, DocumentableElement, WSDLElement
public class DescriptionImpl
- extends WSDLComponentImpl
- implements Description, DescriptionElement
This class provides the implementation for a Description component from
the WSDL Component Model, as described in the WSDL 2.0 specification.
Note: this class is different to the other WSDL implementation classes,
which all implement two Java interfaces; a component model interface and the
interface for the corresponding WSDL element. Different implementations
are used for the Description component and for the <wsdl:description>
element because the latter exposes the composite structure of imported and
included WSDL documents, while the Description component 'flattens' this
structure into an abstract view of the WSDL. A separate implementation
class, DescriptionElementImpl, exists to represent
the <wsdl:description> element.
- Author:
- jkaputin@apache.org
| Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl |
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DescriptionImpl
public DescriptionImpl(WSDLContext wsdlContext)
getInterfaces
public Interface[] getInterfaces()
- Specified by:
getInterfaces in interface Description
getInterface
public Interface getInterface(QName name)
- Specified by:
getInterface in interface Description
getBindings
public Binding[] getBindings()
- Specified by:
getBindings in interface Description
getBinding
public Binding getBinding(QName name)
- Specified by:
getBinding in interface Description
getServices
public Service[] getServices()
- Specified by:
getServices in interface Description
getService
public Service getService(QName name)
- Specified by:
getService in interface Description
getElementDeclarations
public ElementDeclaration[] getElementDeclarations()
- Specified by:
getElementDeclarations in interface Description
getElementDeclaration
public ElementDeclaration getElementDeclaration(QName qname)
- Specified by:
getElementDeclaration in interface Description
getTypeDefinitions
public TypeDefinition[] getTypeDefinitions()
- Specified by:
getTypeDefinitions in interface Description
getTypeDefinition
public TypeDefinition getTypeDefinition(QName qname)
- Specified by:
getTypeDefinition in interface Description
toElement
public DescriptionElement toElement()
- Specified by:
toElement in interface Description
setDocumentBaseURI
public void setDocumentBaseURI(java.net.URI documentBaseURI)
- Specified by:
setDocumentBaseURI in interface DescriptionElement
getDocumentBaseURI
public java.net.URI getDocumentBaseURI()
- Specified by:
getDocumentBaseURI in interface DescriptionElement
setTargetNamespace
public void setTargetNamespace(java.net.URI namespace)
- Specified by:
setTargetNamespace in interface DescriptionElement
getTargetNamespace
public java.net.URI getTargetNamespace()
- Specified by:
getTargetNamespace in interface DescriptionElement
getImportElements
public ImportElement[] getImportElements()
- Specified by:
getImportElements in interface DescriptionElement
getIncludeElements
public IncludeElement[] getIncludeElements()
- Specified by:
getIncludeElements in interface DescriptionElement
getTypesElement
public TypesElement getTypesElement()
- Specified by:
getTypesElement in interface DescriptionElement
addTypesElement
public TypesElement addTypesElement()
throws WSDLException
- Specified by:
addTypesElement in interface DescriptionElement
- Throws:
WSDLException
getInterfaceElements
public InterfaceElement[] getInterfaceElements()
- Specified by:
getInterfaceElements in interface DescriptionElement
getBindingElements
public BindingElement[] getBindingElements()
- Specified by:
getBindingElements in interface DescriptionElement
getServiceElements
public ServiceElement[] getServiceElements()
- Specified by:
getServiceElements in interface DescriptionElement
addImportElement
public ImportElement addImportElement()
- Specified by:
addImportElement in interface DescriptionElement
addIncludeElement
public IncludeElement addIncludeElement()
- Specified by:
addIncludeElement in interface DescriptionElement
addInterfaceElement
public InterfaceElement addInterfaceElement()
- Specified by:
addInterfaceElement in interface DescriptionElement
addBindingElement
public BindingElement addBindingElement()
- Specified by:
addBindingElement in interface DescriptionElement
addServiceElement
public ServiceElement addServiceElement()
- Specified by:
addServiceElement in interface DescriptionElement
toComponent
public Description toComponent()
- Specified by:
toComponent in interface DescriptionElement
getFragmentIdentifier
public FragmentIdentifier getFragmentIdentifier()
- Specified by:
getFragmentIdentifier in interface WSDLComponent
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.