Package lumis.util
Class Xml
- java.lang.Object
-
- lumis.util.Xml
-
@StableMinor(version="14.2", sinceVersion="8.1") public class Xml extends Object
Provides XML operations.- Since:
- 8.1.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Constructor Summary
Constructors Constructor Description Xml()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Node>
selectNodes(String xpath, Node context)
Returns the matchednodes
from the given XPath and context.static Node
selectSingleNode(String xpath, Node context)
Returns the matchednode
from the given XPath and context.static String
valueOf(String xpath, Node context)
Returns the evaluated value of the given XPath from the given context.
-
-
-
Method Detail
-
valueOf
public static String valueOf(String xpath, Node context)
Returns the evaluated value of the given XPath from the given context.- Parameters:
xpath
- the XPath.context
- the context.- Returns:
- the evaluated value of the given XPath from the given context.
- Since:
- 8.1.0
-
selectNodes
public static List<Node> selectNodes(String xpath, Node context)
Returns the matchednodes
from the given XPath and context.- Parameters:
xpath
- the XPath.context
- the context.- Returns:
- the matched
nodes
from the given XPath and context. - Since:
- 8.1.0
-
-