org.apache.ws.jaxme.xs.xml.impl

Class XsEDocumentationImpl

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
protected voidaddChild(Object pObject)
voidaddText(String pText)
ContentHandlergetChildHandler(String pQName, String pNamespaceURI, String pLocalName)
Object[]getChilds()
XmlLanggetLang()
XsAnyURIgetSource()
StringgetText()
booleanisTextOnly()
booleansetAttribute(String pQName, String pNamespaceURI, String pLocalName, String pValue)
voidsetLang(XmlLang pLang)
voidsetSource(XsAnyURI pSource)

Constructor Detail

XsEDocumentationImpl

protected XsEDocumentationImpl(XsObject pParent)

Method Detail

addChild

protected void addChild(Object pObject)

addText

public void addText(String pText)

getChildHandler

public ContentHandler getChildHandler(String pQName, String pNamespaceURI, String pLocalName)

getChilds

public Object[] getChilds()

getLang

public XmlLang getLang()

getSource

public XsAnyURI getSource()

getText

public String getText()

isTextOnly

public boolean isTextOnly()

setAttribute

public boolean setAttribute(String pQName, String pNamespaceURI, String pLocalName, String pValue)

setLang

public void setLang(XmlLang pLang)

setSource

public void setSource(XsAnyURI pSource)