Package com.werken.xpath

Examples of com.werken.xpath.XPath.applyTo()


    public List applyTo(String xpathSpec,
                        Document doc)
    {
        Runtime.info("XPathTool::applyTo(String, Document)");
        XPath xpath = new XPath( xpathSpec );
        return xpath.applyTo( doc );
    }

    /**
     * Apply an XPath to a JDOM Element
     *
 
View Full Code Here


    public List applyTo(String xpathSpec,
                        Element elem)
    {
        Runtime.info("XPathTool::applyTo(String, Element)");
        XPath xpath = new XPath(xpathSpec);
        return xpath.applyTo( elem );
    }

    /**
     * Apply an XPath to a nodeset
     *
 
View Full Code Here

    public List applyTo(String xpathSpec,
                        List nodeSet)
    {
        Runtime.info("XPathTool::applyTo(String, List)");
        XPath xpath = new XPath(xpathSpec);
        return xpath.applyTo( nodeSet );
    }
}
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.