org.apache.woden.internal.wsdl20
Class DocumentableImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.WSDLObjectImpl
          extended by org.apache.woden.internal.wsdl20.DocumentableImpl
All Implemented Interfaces:
AttributeExtensible, ElementExtensible, WSDLComponent, DocumentableElement, WSDLElement
Direct Known Subclasses:
BindingImpl, DescriptionImpl, InterfaceImpl, NestedImpl, ServiceImpl, TypesImpl, WSDLReferenceImpl

public abstract class DocumentableImpl
extends WSDLObjectImpl
implements DocumentableElement

An abstract superclass for WSDL 2.0 elements which can have <documentation> child elements. That is, all WSDL 2.0 elements except the <documentation> element itself. Defines accessor methods for manipulating DocumentationElements.

Author:
jkaputin@apache.org

Constructor Summary
DocumentableImpl()
           
 
Method Summary
 DocumentationElement addDocumentationElement()
          Create a DocumentationElement with this WSDLElement as its parent and return a reference to it.
 DocumentationElement[] getDocumentationElements()
          Return the set of DocumentationElements defined directly within this WSDLElement.
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLObjectImpl
containsComponent, equals, getComponentExtensionsForNamespace, setComponentExtensions
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
 

Constructor Detail

DocumentableImpl

public DocumentableImpl()
Method Detail

addDocumentationElement

public DocumentationElement addDocumentationElement()
Description copied from interface: DocumentableElement
Create a DocumentationElement with this WSDLElement as its parent and return a reference to it. This equates to adding a <documentation> element to any of the other WSDL elements (except the <documentation> element itself).

Specified by:
addDocumentationElement in interface DocumentableElement
Returns:
the DocumentationElement

getDocumentationElements

public DocumentationElement[] getDocumentationElements()
Description copied from interface: DocumentableElement
Return the set of DocumentationElements defined directly within this WSDLElement. This equates to the set of <documentation> elements declared within a WSDL element. If no DocumentationElements exist, an empty array is returned.

Specified by:
getDocumentationElements in interface DocumentableElement
Returns:
array of DocumentationElement


Copyright © 2007. All Rights Reserved.