|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsil.util.XMLUtil
public final class XMLUtil
This class contains a set of XML related utility methods.
Constructor Summary | |
---|---|
XMLUtil()
|
Method Summary | |
---|---|
protected static org.w3c.dom.Element |
findNextSibling(org.w3c.dom.Node startNode)
Find the next sibling element. |
static java.lang.String |
getAttributeValue(org.w3c.dom.Element element,
java.lang.String attrName)
Get attribute value. |
static java.lang.String |
getAttributeValueNS(org.w3c.dom.Element element,
java.lang.String namespace,
java.lang.String attrName)
Get attribute value. |
static org.w3c.dom.Element |
getFirstChild(org.w3c.dom.Element element)
Get the first child element from the input elment. |
static org.w3c.dom.Element |
getNextSibling(org.w3c.dom.Element element)
Get the next sibling element. |
static java.lang.String |
getText(org.w3c.dom.Element element)
Get the text that is associated with this element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLUtil()
Method Detail |
---|
public static java.lang.String getAttributeValue(org.w3c.dom.Element element, java.lang.String attrName)
public static java.lang.String getAttributeValueNS(org.w3c.dom.Element element, java.lang.String namespace, java.lang.String attrName)
public static org.w3c.dom.Element getFirstChild(org.w3c.dom.Element element)
public static org.w3c.dom.Element getNextSibling(org.w3c.dom.Element element)
protected static org.w3c.dom.Element findNextSibling(org.w3c.dom.Node startNode)
public static java.lang.String getText(org.w3c.dom.Element element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |