net.sf.jaxme.xs.xml.impl
Class XsEDocumentationImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.xml.impl.XsEDocumentationImpl
All Implemented Interfaces:
XsEDocumentation, XsObject

public class XsEDocumentationImpl
extends XsObjectImpl
implements XsEDocumentation

Implementation of xs:documentation, as specified by the following:

  <xs:element name="documentation" id="documentation">
    <xs:annotation>
      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:any processContents="lax"/>
      </xs:sequence>
      <xs:attribute name="source" type="xs:anyURI"/>
      <xs:attribute ref="xml:lang"/>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsEDocumentationImpl(XsObject pParent)
           
 
Method Summary
 void addText(java.lang.String pText)
           
 XmlLang getLang()
           
 XsAnyURI getSource()
           
 java.lang.String getText()
          Returns the embedded text.
 boolean setAttribute(java.lang.String pQName, java.lang.String pNamespaceURI, java.lang.String pLocalName, java.lang.String pValue)
           
 void setLang(XmlLang pLang)
           
 void setSource(XsAnyURI pSource)
           
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Constructor Detail

XsEDocumentationImpl

protected XsEDocumentationImpl(XsObject pParent)
Method Detail

setLang

public void setLang(XmlLang pLang)
Specified by:
setLang in interface XsEDocumentation

getLang

public XmlLang getLang()
Specified by:
getLang in interface XsEDocumentation

setSource

public void setSource(XsAnyURI pSource)
Specified by:
setSource in interface XsEDocumentation

getSource

public XsAnyURI getSource()
Specified by:
getSource in interface XsEDocumentation

addText

public void addText(java.lang.String pText)

getText

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

Returns the embedded text.

Specified by:
getText in interface XsEDocumentation

setAttribute

public boolean setAttribute(java.lang.String pQName,
                            java.lang.String pNamespaceURI,
                            java.lang.String pLocalName,
                            java.lang.String pValue)