Package org.infozone.tools.xml.queries

Examples of org.infozone.tools.xml.queries.XPathQuery


   
    public final XObject executeXPath( OzoneXPathQuery _query ) throws Exception {
        if (_query.rootNode == null) {
            _query.rootNode = getDocument();
        }
        XPathQuery query = xpathQueryFactory.newXPathQuery();
        query.setQString( _query.qstring );
        if (_query.filter != null) {
            query.setNodeFilter( _query.filter );
        }
        if (_query.namespace != null) {
            query.setNamespace( _query.namespace );
        }
        return query.execute( _query.rootNode );
    }
View Full Code Here

TOP

Related Classes of org.infozone.tools.xml.queries.XPathQuery

Copyright © 2018 www.massapicom. 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.