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

Class XsEDocumentationImpl

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

XsEDocumentationImpl(XsObject pParent)

Method Summary

protected void
addChild(Object pObject)
void
addText(String pText)
ContentHandler
getChildHandler(String pQName, String pNamespaceURI, String pLocalName)
Object[]
getChilds()
XmlLang
getLang()
XsAnyURI
getSource()
String
getText()
boolean
isTextOnly()
boolean
setAttribute(String pQName, String pNamespaceURI, String pLocalName, String pValue)
void
setLang(XmlLang pLang)
void
setSource(XsAnyURI pSource)

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

XsEDocumentationImpl

protected XsEDocumentationImpl(XsObject pParent)

Method Details

addChild

protected void addChild(Object pObject)

addText

public void addText(String pText)

getChildHandler

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

getChilds

public Object[] getChilds()
Specified by:
getChilds in interface XsEDocumentation

getLang

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

getSource

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

getText

public String getText()
Specified by:
getText in interface XsEDocumentation

isTextOnly

public boolean isTextOnly()
Specified by:
isTextOnly in interface XsEDocumentation

setAttribute

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

setLang

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

setSource

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