public class DomParser extends Object
| Constructor and Description | 
|---|
DomParser()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Element | 
from(File f)  | 
static Element | 
from(InputStream f)  | 
static Element | 
getElementFromXPath(Document document,
                   String expression)  | 
static Element | 
getElementFromXPath(Element root,
                   String expression)  | 
static List<Element> | 
getElementsFromXPath(Document document,
                    String expression)  | 
static List<Element> | 
getElementsFromXPath(Element root,
                    String expression)  | 
static XPathExpression | 
getExpression(String expression)  | 
static NodeList | 
getNodesFromXPath(Document document,
                 String expression)  | 
static NodeList | 
getNodesFromXPath(Element root,
                 String expression)  | 
static List<Element> | 
toElementList(NodeList nl)  | 
public static XPathExpression getExpression(String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static NodeList getNodesFromXPath(Document document, String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static NodeList getNodesFromXPath(Element root, String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static List<Element> getElementsFromXPath(Document document, String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static List<Element> getElementsFromXPath(Element root, String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static Element getElementFromXPath(Document document, String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static Element getElementFromXPath(Element root, String expression) throws XPathExpressionException
XPathExpressionExceptionpublic static Element from(File f) throws ConfigurationException
ConfigurationExceptionpublic static Element from(InputStream f) throws ConfigurationException
ConfigurationException