Package org.apache.wsil.util
Class XMLUtil
java.lang.Object
org.apache.wsil.util.XMLUtil
This class contains a set of XML related utility methods.
- Version:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ElementfindNextSibling(Node startNode) Find the next sibling element.static StringgetAttributeValue(Element element, String attrName) Get attribute value.static StringgetAttributeValueNS(Element element, String namespace, String attrName) Get attribute value.static ElementgetFirstChild(Element element) Get the first child element from the input elment.static ElementgetNextSibling(Element element) Get the next sibling element.static StringGet the text that is associated with this element.
-
Constructor Details
-
XMLUtil
public XMLUtil()
-
-
Method Details
-
getAttributeValue
Get attribute value. -
getAttributeValueNS
Get attribute value. -
getFirstChild
Get the first child element from the input elment. -
getNextSibling
Get the next sibling element. -
findNextSibling
Find the next sibling element. -
getText
Get the text that is associated with this element.
-