|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.in.TreeNode
Represents a point in the document node tree.
| Constructor Summary | |
TreeNode(NameInfo pName,
int pDepth,
String pLang)
Create a TreeNode representing an XML element. |
|
TreeNode(String pText,
boolean pNamespaceAware)
Create a TreeNode representing a text node. |
|
| Method Summary | |
TreeNode |
duplicate()
Copy this TreeNode. |
boolean |
equals(Object pOther)
Define node equality, includes value. |
int |
getChildPosition()
Get the position of this node relative to its siblings. |
int |
getDepth()
Get the document depth at which the element for this node occurs. |
String |
getLang()
Get the language code of this node. |
NameInfo |
getName()
Get the element name of this node. |
Object |
getValue()
Get this value of this node. |
void |
incrementPosition(NameInfo pName)
Increment the position of a child element. |
boolean |
isFixed()
Return fixed value status. |
void |
setFixed(boolean pFixed)
Fix the value of a text field so that following siblings won't alter it (unless they match). |
void |
setValue(Object pValue)
Set the value of this node. |
String |
toDebugString()
Debugging description. |
String |
toString()
String value of node. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TreeNode(String pText,
boolean pNamespaceAware)
TreeNode representing a text node.
public TreeNode(NameInfo pName,
int pDepth,
String pLang)
| Method Detail |
public TreeNode duplicate()
TreeNode.
public NameInfo getName()
public int getDepth()
public int getChildPosition()
public void incrementPosition(NameInfo pName)
public void setValue(Object pValue)
public Object getValue()
public void setFixed(boolean pFixed)
public boolean isFixed()
public String getLang()
public String toString()
public String toDebugString()
public boolean equals(Object pOther)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||