|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.validators.schema.XUtil
Some useful utility methods.
Constructor Summary | |
protected |
XUtil()
This class cannot be instantiated. |
Method Summary | |
static void |
copyInto(org.w3c.dom.Node src,
org.w3c.dom.Node dest)
Copies the source tree into the specified place in a destination tree. |
static java.lang.String |
getChildText(org.w3c.dom.Node node)
Returns the concatenated child text of the specified node. |
static org.w3c.dom.Element |
getFirstChildElement(org.w3c.dom.Node parent)
Finds and returns the first child element node. |
static org.w3c.dom.Element |
getFirstChildElement(org.w3c.dom.Node parent,
java.lang.String elemName)
Finds and returns the first child node with the given name. |
static org.w3c.dom.Element |
getFirstChildElement(org.w3c.dom.Node parent,
java.lang.String[] elemNames)
Finds and returns the first child node with the given name. |
static org.w3c.dom.Element |
getFirstChildElement(org.w3c.dom.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 org.w3c.dom.Element |
getLastChildElement(org.w3c.dom.Node parent)
Finds and returns the last child element node. |
static org.w3c.dom.Element |
getLastChildElement(org.w3c.dom.Node parent,
java.lang.String elemName)
Finds and returns the last child node with the given name. |
static org.w3c.dom.Element |
getLastChildElement(org.w3c.dom.Node parent,
java.lang.String[] elemNames)
Finds and returns the last child node with the given name. |
static org.w3c.dom.Element |
getLastChildElement(org.w3c.dom.Node parent,
java.lang.String elemName,
java.lang.String attrName,
java.lang.String attrValue)
Finds and returns the last child node with the given name and attribute name, value pair. |
static org.w3c.dom.Element |
getNextSiblingElement(org.w3c.dom.Node node)
Finds and returns the next sibling element node. |
static org.w3c.dom.Element |
getNextSiblingElement(org.w3c.dom.Node node,
java.lang.String elemName)
Finds and returns the next sibling node with the given name. |
static org.w3c.dom.Element |
getNextSiblingElement(org.w3c.dom.Node node,
java.lang.String[] elemNames)
Finds and returns the next sibling node with the given name. |
static org.w3c.dom.Element |
getNextSiblingElement(org.w3c.dom.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(org.w3c.dom.Node src, org.w3c.dom.Node dest) throws org.w3c.dom.DOMException
Note: This is an iterative implementation.
public static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Node parent)
public static org.w3c.dom.Element getLastChildElement(org.w3c.dom.Node parent)
public static org.w3c.dom.Element getNextSiblingElement(org.w3c.dom.Node node)
public static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Node parent, java.lang.String elemName)
public static org.w3c.dom.Element getLastChildElement(org.w3c.dom.Node parent, java.lang.String elemName)
public static org.w3c.dom.Element getNextSiblingElement(org.w3c.dom.Node node, java.lang.String elemName)
public static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Node parent, java.lang.String[] elemNames)
public static org.w3c.dom.Element getLastChildElement(org.w3c.dom.Node parent, java.lang.String[] elemNames)
public static org.w3c.dom.Element getNextSiblingElement(org.w3c.dom.Node node, java.lang.String[] elemNames)
public static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Node parent, java.lang.String elemName, java.lang.String attrName, java.lang.String attrValue)
public static org.w3c.dom.Element getLastChildElement(org.w3c.dom.Node parent, java.lang.String elemName, java.lang.String attrName, java.lang.String attrValue)
public static org.w3c.dom.Element getNextSiblingElement(org.w3c.dom.Node node, java.lang.String elemName, java.lang.String attrName, java.lang.String attrValue)
public static java.lang.String getChildText(org.w3c.dom.Node node)
Node.TEXT_NODE
or the children of any child
node that is of type Node.CDATA_SECTION_NODE
for the concatenation.
node
- The node to look at.
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |