org.apache.woden.internal.wsdl20
Class DocumentationImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.DocumentationImpl
All Implemented Interfaces:
AttributeExtensible, ElementExtensible, DocumentationElement, NestedElement, WSDLElement

public class DocumentationImpl
extends WSDLElementImpl
implements DocumentationElement

This class implements support for parsing, creating and manipulating a WSDL 2.0 <wsdl:documentation> XML element. The <wsdl:documentation> element may contain mixed content, but this class does not attempt to understand that content. Instead it just wraps the <wsdl:documentation> element's content model as a java.lang.Object. TODO chg inheritance hierachy so this too extends WSDL20ObjectImpl? (i.e. move documentation methods from WSDL20ObjectImpl to a DocumentableImpl class) Currently, this class is a WSDL20Element (interface) but it is not a subclass of WSDL20ObjectImpl.

Author:
jkaputin@apache.org

Constructor Summary
DocumentationImpl()
           
 
Method Summary
 XMLElement getContent()
          Returns a XMLElement representing the DocumentationElement xml element.
 WSDLElement getParentElement()
           
 void setContent(XMLElement docEl)
          Sets the documentationElement XMLElement for this DocumentationElement.
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
 
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

DocumentationImpl

public DocumentationImpl()
Method Detail

setContent

public void setContent(XMLElement docEl)
Description copied from interface: DocumentationElement
Sets the documentationElement XMLElement for this DocumentationElement.

Specified by:
setContent in interface DocumentationElement
Parameters:
docEl - A XMLElement representing the DocumentationElement xml element.

getContent

public XMLElement getContent()
Description copied from interface: DocumentationElement
Returns a XMLElement representing the DocumentationElement xml element.

Specified by:
getContent in interface DocumentationElement
Returns:
XMLElement the xml representation of the DocumentationElement.

getParentElement

public WSDLElement getParentElement()
Specified by:
getParentElement in interface NestedElement


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.