|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.validators.schema.XUtil
Some useful utility methods.
Constructor Summary | |
protected |
XUtil()
This class cannot be instantiated. |
Method Summary | |
static void |
copyInto(Node src,
Node dest)
Copies the source tree into the specified place in a destination tree. |
static Element |
getFirstChildElement(Node parent)
Finds and returns the first child element node. |
static Element |
getFirstChildElement(Node parent,
java.lang.String elemName)
Finds and returns the first child node with the given name. |
static Element |
getFirstChildElement(Node parent,
java.lang.String[] elemNames)
Finds and returns the first child node with the given name. |
static Element |
getFirstChildElement(Node parent,
java.lang.String elemName,
java.lang.String attrName,
java.lang.String attrValue)
Finds and returns the first child node with the given name and attribute name, value pair. |
static Element |
getNextSiblingElement(Node node)
Finds and returns the next sibling element node. |
static Element |
getNextSiblingElement(Node node,
java.lang.String elemName)
Finds and returns the next sibling node with the given name. |
static Element |
getNextSiblingElement(Node node,
java.lang.String[] elemNames)
Finds and returns the next sibling node with the given name. |
static Element |
getNextSiblingElement(Node node,
java.lang.String elemName,
java.lang.String attrName,
java.lang.String attrValue)
Finds and returns the next sibling node with the given name and attribute name, value pair. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected XUtil()
Method Detail |
public static void copyInto(Node src, Node dest) throws DOMException
Note: This is an iterative implementation.
public static Element getFirstChildElement(Node parent)
public static Element getNextSiblingElement(Node node)
public static Element getFirstChildElement(Node parent, java.lang.String elemName)
public static Element getNextSiblingElement(Node node, java.lang.String elemName)
public static Element getFirstChildElement(Node parent, java.lang.String[] elemNames)
public static Element getNextSiblingElement(Node node, java.lang.String[] elemNames)
public static Element getFirstChildElement(Node parent, java.lang.String elemName, java.lang.String attrName, java.lang.String attrValue)
public static Element getNextSiblingElement(Node node, java.lang.String elemName, java.lang.String attrName, java.lang.String attrValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |