|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.entity.XmlNode
public abstract class XmlNode
The abstract XmlNode class implements functionality shared between the XmlAttribute and
XmlSimpleElement classes.
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get the description for the XSD element. |
java.lang.String |
getTag()
Get the node name. |
XmlSpec |
getXmlSpec()
Get the parent XmlSpec instance. |
abstract java.lang.String |
getXsdTag()
Get the tag identifying this node in an XML schema document. |
boolean |
isIncludedInSchema()
Check if this node should be visible in the schema. |
abstract void |
putData(WriteableEntity entity,
org.w3c.dom.Element element)
Writes data from an WriteableEntity instance into an XML Element. |
void |
setDescription(java.lang.String description)
Set the description for the XSD element. |
void |
setIncludedInSchema(boolean includedInSchema)
Indicate whether or not this node should be visible in the schema. |
org.w3c.dom.Element |
toXsdElement(org.w3c.dom.Node parent)
Convert the XML specification node to a node description in an XML schema document |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getTag()
public XmlSpec getXmlSpec()
XmlSpec instance.
XmlSpec instance.public boolean isIncludedInSchema()
public void setIncludedInSchema(boolean includedInSchema)
includedInSchema - True if this node should be visible in the schema; false otherwise.
public abstract void putData(WriteableEntity entity,
org.w3c.dom.Element element)
WriteableEntity instance into an XML Element.
entity - The source WriteableEntity.element - The target Element.public abstract java.lang.String getXsdTag()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description text.public org.w3c.dom.Element toXsdElement(org.w3c.dom.Node parent)
parent - The parent node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||