public class XMLNodesUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
char |
compare(org.mdiutil.xml.tree.XMLNode node1,
org.mdiutil.xml.tree.XMLNode node2)
Compare two nodes.
|
boolean |
equals(org.mdiutil.xml.tree.XMLNode node1,
org.mdiutil.xml.tree.XMLNode node2)
Return true if two nodes are equal.
|
static XMLNodesUtil |
getInstance()
Return the unique instance.
|
void |
setNodeRules(NodeRules nodeRules)
Set the node rules.
|
public void setNodeRules(NodeRules nodeRules)
nodeRules
- the rulespublic static XMLNodesUtil getInstance()
public char compare(org.mdiutil.xml.tree.XMLNode node1, org.mdiutil.xml.tree.XMLNode node2)
NodeState
and NodeMoveState
.node1
- the first nodenode2
- the second nodepublic boolean equals(org.mdiutil.xml.tree.XMLNode node1, org.mdiutil.xml.tree.XMLNode node2)
node1
- the first nodenode2
- the second nodeCopyright © 2024 HervĂ© Girod. All Rights Reserved. Documentation and source under the BSD licence