Example usage for org.dom4j DocumentHelper selectNodes

List of usage examples for org.dom4j DocumentHelper selectNodes

Introduction

In this page you can find the example usage for org.dom4j DocumentHelper selectNodes.

Prototype

public static List<Node> selectNodes(String xpathFilterExpression, Node node) 

Source Link

Document

selectNodes performs the given XPath expression on the List of Node instances appending all the results together into a single list.

Usage

From source file:com.liferay.portal.xml.SAXReaderImpl.java

License:Open Source License

public List<Node> selectNodes(String xPathFilterExpression, List<Node> nodes) {

    return toNewNodes(DocumentHelper.selectNodes(xPathFilterExpression, toOldNodes(nodes)));
}

From source file:com.liferay.portal.xml.SAXReaderImpl.java

License:Open Source License

public List<Node> selectNodes(String xPathFilterExpression, Node node) {
    NodeImpl nodeImpl = (NodeImpl) node;

    return toNewNodes(DocumentHelper.selectNodes(xPathFilterExpression, nodeImpl.getWrappedNode()));
}