public final class XMLUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getAttributeValue(Element base,
String name)
Returns the value of the attribute of the given element.
|
static String |
getChildStringValueForElement(Element base,
String name)
Returns the value of the child node with the given name.
|
static Properties |
getPropertiesValueElement(String ns,
Element base,
String name)
Returns a Properties object matching the given node.
|
static List<String> |
getStringListValueElement(String ns,
Element base,
String name)
Returns a list of value for the given node.
|
static String |
getStringValueElement(String ns,
Element base,
String name)
Returns the value of the given node.
|
public static String getAttributeValue(Element base, String name)
base - the element from where to search.name - of the attribute to get.public static String getStringValueElement(String ns, Element base, String name)
ns - the namespace.base - the element from where to search.name - of the element to get.public static String getChildStringValueForElement(Element base, String name)
base - the element from where to search.name - of the element to get.public static Properties getPropertiesValueElement(String ns, Element base, String name)
ns - the namespace.base - the element from where to search.name - of the element to get.public static List<String> getStringListValueElement(String ns, Element base, String name)
ns - the namespace.base - the element from where to search.name - of the element to get.Copyright © 2007-2013 OW2 Consortium. All Rights Reserved.