|
|||||||||
| Home >> All >> org >> apache >> ws >> jaxme >> xs >> xml >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.ws.jaxme.xs.xml.impl
Class XsEDocumentationImpl

java.lang.Objectorg.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsEDocumentationImpl
- All Implemented Interfaces:
- org.apache.ws.jaxme.xs.xml.XsEDocumentation, org.apache.ws.jaxme.xs.xml.XsObject
- public class XsEDocumentationImpl
- extends XsObjectImpl
- implements org.apache.ws.jaxme.xs.xml.XsEDocumentation
- extends XsObjectImpl
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>
| Field Summary | |
private java.util.List |
childs
|
private boolean |
isSimple
|
private org.apache.ws.jaxme.xs.xml.XmlLang |
lang
|
private org.apache.ws.jaxme.xs.xml.XsAnyURI |
source
|
| Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl |
|
| Constructor Summary | |
protected |
XsEDocumentationImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
|
| Method Summary | |
protected void |
addChild(java.lang.Object pObject)
|
void |
addText(java.lang.String pText)
|
org.xml.sax.ContentHandler |
getChildHandler(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName)
|
java.lang.Object[] |
getChilds()
Returns the array of all child objects. |
org.apache.ws.jaxme.xs.xml.XmlLang |
getLang()
Returns the documentation elements language. |
org.apache.ws.jaxme.xs.xml.XsAnyURI |
getSource()
Returns the URI to read for the documentations contents. |
java.lang.String |
getText()
Returns the embedded text. |
boolean |
isTextOnly()
Returns whether the documentation is simple. |
boolean |
setAttribute(java.lang.String pQName,
java.lang.String pNamespaceURI,
java.lang.String pLocalName,
java.lang.String pValue)
|
void |
setLang(org.apache.ws.jaxme.xs.xml.XmlLang pLang)
Sets the documentation elements language. |
void |
setSource(org.apache.ws.jaxme.xs.xml.XsAnyURI pSource)
Sets the URI to read for the documentations contents. |
| Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl |
asXsQName, 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 org.apache.ws.jaxme.xs.xml.XsObject |
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate |
| Field Detail |
lang
private org.apache.ws.jaxme.xs.xml.XmlLang lang
source
private org.apache.ws.jaxme.xs.xml.XsAnyURI source
childs
private java.util.List childs
isSimple
private boolean isSimple
| Constructor Detail |
XsEDocumentationImpl
protected XsEDocumentationImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
| Method Detail |
addChild
protected void addChild(java.lang.Object pObject)
setLang
public void setLang(org.apache.ws.jaxme.xs.xml.XmlLang pLang)
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Sets the documentation elements language. Defaults to null.
- Specified by:
setLangin interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
getLang
public org.apache.ws.jaxme.xs.xml.XmlLang getLang()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Returns the documentation elements language. Defaults to null.
- Specified by:
getLangin interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
setSource
public void setSource(org.apache.ws.jaxme.xs.xml.XsAnyURI pSource)
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Sets the URI to read for the documentations contents. Defaults to null.
- Specified by:
setSourcein interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
getSource
public org.apache.ws.jaxme.xs.xml.XsAnyURI getSource()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Returns the URI to read for the documentations contents. Defaults to null.
- Specified by:
getSourcein interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
addText
public void addText(java.lang.String pText)
getText
public java.lang.String getText()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Returns the embedded text. The embedded text is specified as the concatenation of all text nodes. Child elements, if any, are ignored.
- Specified by:
getTextin interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
isTextOnly
public boolean isTextOnly()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Returns whether the documentation is simple. In other words, whether it consists of text only. If not, you should use XsEDocumentation.getChilds()>
XsEDocumentation.getChilds()55 rather than XsEDocumentation.getText()>XsEDocumentation.getText()55 .- Specified by:
isTextOnlyin interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
getChilds
public java.lang.Object[] getChilds()
- Description copied from interface:
org.apache.ws.jaxme.xs.xml.XsEDocumentation Returns the array of all child objects. Child objects may either be Strings or DOM nodes.
- Specified by:
getChildsin interfaceorg.apache.ws.jaxme.xs.xml.XsEDocumentation
setAttribute
public boolean setAttribute(java.lang.String pQName, java.lang.String pNamespaceURI, java.lang.String pLocalName, java.lang.String pValue)
getChildHandler
public org.xml.sax.ContentHandler getChildHandler(java.lang.String pQName, java.lang.String pNamespaceURI, java.lang.String pLocalName) throws org.xml.sax.SAXException
|
|||||||||
| Home >> All >> org >> apache >> ws >> jaxme >> xs >> xml >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC