Package org.apache.xindice.xml.dom

Examples of org.apache.xindice.xml.dom.NodeListImpl


        String query = getArg0().execute(xctxt).str();
        try {
            int ctxtNode = xctxt.getCurrentNode();
            Node node = xctxt.getDTM(ctxtNode).getNode(ctxtNode);
            NodeListImpl list = new NodeListImpl(null);
            list.add(node);

            Searcher searcher = new Searcher(list, analyzer);
            NodeSet nodes = searcher.search(query);

            return nodes.hasMoreNodes() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
View Full Code Here

TOP

Related Classes of org.apache.xindice.xml.dom.NodeListImpl

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.