| java.lang.Object org.ow2.easybeans.util.xml.XMLUtils
XMLUtils | final public class XMLUtils (Code) | | Class with some useful methods on XML document.
|
Method Summary | |
public static String | getAttributeValue(Element base, String name) Returns the value of the attribute of the given element.
Parameters: base - the element from where to search. Parameters: name - of the attribute to get. | public static String | getChildStringValueForElement(Element base, String name) Returns the value of the child node with the given name.
Parameters: base - the element from where to search. Parameters: name - of the element to get. | public static Properties | getPropertiesValueElement(String ns, Element base, String name) Returns a Properties object matching the given node.
Parameters: ns - the namespace. Parameters: base - the element from where to search. Parameters: name - of the element to get. | public static List<String> | getStringListValueElement(String ns, Element base, String name) Returns a list of value for the given node.
Parameters: ns - the namespace. Parameters: base - the element from where to search. Parameters: name - of the element to get. | public static String | getStringValueElement(String ns, Element base, String name) Returns the value of the given node.
Parameters: ns - the namespace. Parameters: base - the element from where to search. Parameters: name - of the element to get. | public static String | getStringValueElement(Element base, String name) Returns the value of the given node.
Parameters: base - the element from where to search. Parameters: name - of the element to get. |
getAttributeValue | public static String getAttributeValue(Element base, String name)(Code) | | Returns the value of the attribute of the given element.
Parameters: base - the element from where to search. Parameters: name - of the attribute to get. the value of this element. |
getChildStringValueForElement | public static String getChildStringValueForElement(Element base, String name)(Code) | | Returns the value of the child node with the given name.
Parameters: base - the element from where to search. Parameters: name - of the element to get. the value of this element. |
getPropertiesValueElement | public static Properties getPropertiesValueElement(String ns, Element base, String name)(Code) | | Returns a Properties object matching the given node.
Parameters: ns - the namespace. Parameters: base - the element from where to search. Parameters: name - of the element to get. the value of this element. |
getStringListValueElement | public static List<String> getStringListValueElement(String ns, Element base, String name)(Code) | | Returns a list of value for the given node.
Parameters: ns - the namespace. Parameters: base - the element from where to search. Parameters: name - of the element to get. the list of value of this element. |
getStringValueElement | public static String getStringValueElement(String ns, Element base, String name)(Code) | | Returns the value of the given node.
Parameters: ns - the namespace. Parameters: base - the element from where to search. Parameters: name - of the element to get. the value of this element. |
getStringValueElement | public static String getStringValueElement(Element base, String name)(Code) | | Returns the value of the given node.
Parameters: base - the element from where to search. Parameters: name - of the element to get. the value of this element. |
|
|