com.unitesk.requality.xml.diff
public class Util extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static int |
getDepth(Action a) |
static int |
getDepth(java.lang.String path) |
static java.lang.String |
getParentPath(java.lang.String path) |
static java.lang.String |
getPath(org.w3c.dom.Node node) |
static int |
getPosition(org.w3c.dom.Node node) |
static boolean |
isAscendant(org.w3c.dom.Node x,
org.w3c.dom.Node y) |
static java.util.List<org.w3c.dom.Node> |
linearizeTree(org.w3c.dom.Node tree) |
static boolean |
nodeEquals(org.w3c.dom.Node node1,
org.w3c.dom.Node node2) |
static java.lang.String |
switchContext(java.lang.String context,
Action a) |
public static boolean nodeEquals(org.w3c.dom.Node node1, org.w3c.dom.Node node2)
public static java.util.List<org.w3c.dom.Node> linearizeTree(org.w3c.dom.Node tree)
public static java.lang.String getPath(org.w3c.dom.Node node)
public static int getPosition(org.w3c.dom.Node node)
public static int getDepth(Action a)
public static int getDepth(java.lang.String path)
public static java.lang.String getParentPath(java.lang.String path)
public static boolean isAscendant(org.w3c.dom.Node x, org.w3c.dom.Node y)
public static java.lang.String switchContext(java.lang.String context, Action a)