|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.are.common.XmlUtils.SingleNode
protected static class XmlUtils.SingleNode
The SingleNode
class encapsulates a single XML node as well as a
string value. The string value is used to alphabetically sort the node,
relative to its other siblings.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright for class bytecode |
Constructor Summary | |
---|---|
XmlUtils.SingleNode(org.w3c.dom.Node theNode,
java.lang.String sortFieldValue)
Constructs a SingleNode object that represents
the specified node and contains the specified string to be
used when sorting the XML nodes. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object otherObj)
Compares the sort string to another node's sort string |
org.w3c.dom.Node |
getNode()
Retrieves the XML node represented by this object |
java.lang.String |
getSortFieldValue()
Retrieves the string to use for sorting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public XmlUtils.SingleNode(org.w3c.dom.Node theNode, java.lang.String sortFieldValue)
SingleNode
object that represents
the specified node and contains the specified string to be
used when sorting the XML nodes.
theNode
- The XML node represented by this objectsortFieldValue
- The string to use when sorting the XML nodesMethod Detail |
---|
public java.lang.String getSortFieldValue()
public org.w3c.dom.Node getNode()
public int compareTo(java.lang.Object otherObj)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |