|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.UCL.utils.Utilities
This class provides some useful static methods, used in the implementation of XMIDDLE.
Constructor Summary | |
Utilities()
|
Method Summary | |
static byte[] |
addArrays(byte[] one,
byte[] two)
Adds two arrays of bytes. |
static org.w3c.dom.Document |
createNewDocument()
Creates a new DOM Document |
static java.lang.String |
generateXPath(org.w3c.dom.Node n)
Generates an XPath expression from the root of a tree down to the node passed as a parameter. |
static java.lang.String |
printNode(org.w3c.dom.Node node)
Prints the given node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Utilities()
Method Detail |
public static org.w3c.dom.Document createNewDocument()
public static java.lang.String generateXPath(org.w3c.dom.Node n)
n
- the node to be located with the XPath expression
public static java.lang.String printNode(org.w3c.dom.Node node)
public static byte[] addArrays(byte[] one, byte[] two)
one
- An array of bytestwo
- An array of bytes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |