Package org.jdom2.xpath

Examples of org.jdom2.xpath.XPath.selectSingleNode()


     */
    public Object selectSingleNode(final Element element, final String query) {
        final XPath xPathExpression = getXPathExpression(query);

        try {
            return xPathExpression.selectSingleNode(element);
        } catch (final JDOMException e) {
            e.printStackTrace();
        }
        return null;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.