org.apache.ws.jaxme.xs.impl
Class XSDocumentationImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSObjectImpl
      extended by org.apache.ws.jaxme.xs.impl.XSDocumentationImpl
All Implemented Interfaces:
XSDocumentation, XSObject

public class XSDocumentationImpl
extends XSObjectImpl
implements XSDocumentation

Author:
Jochen Wiedmann

Constructor Summary
protected XSDocumentationImpl(XSObject pParent, XsEDocumentation pBaseDocumentation)
          Creates a new instance of XSDocumentationImpl.java.
 
Method Summary
 java.lang.Object[] getChilds()
          Returns the documentations content.
 XmlLang getLanguage()
          Returns the documentations xml:lang attribute or null, if no such attribute is defined.
 XsAnyURI getSource()
          Returns the documentations source element or null, if no such attribute is defined.
 java.lang.String getText()
          Merges the String elements returned by XSDocumentation.getChilds() into a single String.
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validate, validateAllIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
 

Constructor Detail

XSDocumentationImpl

protected XSDocumentationImpl(XSObject pParent,
                              XsEDocumentation pBaseDocumentation)

Creates a new instance of XSDocumentationImpl.java.

Method Detail

getLanguage

public XmlLang getLanguage()
Description copied from interface: XSDocumentation

Returns the documentations xml:lang attribute or null, if no such attribute is defined.

Specified by:
getLanguage in interface XSDocumentation

getSource

public XsAnyURI getSource()
Description copied from interface: XSDocumentation

Returns the documentations source element or null, if no such attribute is defined.

Specified by:
getSource in interface XSDocumentation

getChilds

public java.lang.Object[] getChilds()
Description copied from interface: XSDocumentation

Returns the documentations content. The objects in the array are either of:

Specified by:
getChilds in interface XSDocumentation
See Also:
XSDocumentation.getText()

getText

public java.lang.String getText()
Description copied from interface: XSDocumentation

Merges the String elements returned by XSDocumentation.getChilds() into a single String.

Specified by:
getText in interface XSDocumentation
See Also:
XSDocumentation.getChilds()