List of usage examples for org.dom4j DocumentHelper selectNodes
public static List<Node> selectNodes(String xpathFilterExpression, Node node)
selectNodes
performs the given XPath expression on the List of Node instances appending all the results together into a single list.
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())); }