|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.entity.XmlNode
net.charlesames.utility.entity.XmlElement
public abstract class XmlElement
Abstract base for XmlSimpleElement and XmlComplexElement classes.
| Method Summary | |
|---|---|
abstract void |
getData(WriteableEntity entity,
org.w3c.dom.Element element)
Reads data from an XML Element into an WriteableEntity instance. |
int |
getMaxOccurs()
Get the maximum occurrences of this element for XML schema |
int |
getMinOccurs()
Get the minimum occurrences of this element for XML schema |
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. |
void |
setMaxOccurs(int maxOccurs)
Set the maximum occurrences of this element for XML schema |
void |
setMinOccurs(int minOccurs)
Set the minimum occurrences of this element for XML 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 net.charlesames.utility.entity.XmlNode |
|---|
getDescription, getTag, getXmlSpec, putData, setDescription, setIncludedInSchema |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract void getData(WriteableEntity entity,
org.w3c.dom.Element element)
Element into an WriteableEntity instance.
entity - The target WriteableEntity instance.element - The source Element.public java.lang.String getXsdTag()
XmlNode
getXsdTag in class XmlNodepublic int getMinOccurs()
public void setMinOccurs(int minOccurs)
minOccurs - The intended minimum occurrences of this element for XML schemapublic int getMaxOccurs()
public void setMaxOccurs(int maxOccurs)
maxOccurs - The intended maximum occurrences of this element for XML schemapublic boolean isIncludedInSchema()
XmlNode
isIncludedInSchema in class XmlNodepublic org.w3c.dom.Element toXsdElement(org.w3c.dom.Node parent)
XmlNode
toXsdElement in class XmlNodeparent - The parent node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||