Package org.dbwiki.data.query.xpath

Examples of org.dbwiki.data.query.xpath.RelativeXPathConsumer


    if (_variable.children().size() > 0) {
      Vector<NodeSetIterator> iterators = new Vector<NodeSetIterator>();
      for (int iVariable = 0; iVariable < _variable.children().size(); iVariable++) {
        QueryVariable variable = _variable.children().get(iVariable);
        NodeSetIterator iterator = new NodeSetIterator(variable);
        new RelativeXPathConsumer().consume(node, variable.targetPath(), iterator);
        iterators.add(iterator);
      }
      if (iterators.size() == 1) {
        _nodes.add(new SingleChildIteratorNode(node, iterators.firstElement()));
      } else {
View Full Code Here


        try {
          nodeMarker = new QueryOutputNodeCollector(outputNodes, _resultSchema.find(stmt.label()));
        } catch (WikiException e) {
          e.printStackTrace();
        }
      new RelativeXPathConsumer().consume(node, stmt.targetPath(), nodeMarker);
    }
    if (outputNodes.size() > 0) {
      TimeSequence timestamp = null;
      for (int iNode = 0; iNode < outputNodes.size(); iNode++) {
        DatabaseElementNode node = outputNodes.get(iNode);
View Full Code Here

TOP

Related Classes of org.dbwiki.data.query.xpath.RelativeXPathConsumer

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.