Package org.dbwiki.data.query.xpath

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


    for (int iEntry = 0; iEntry < content.size(); iEntry++) {
      DatabaseGroupNode entry = (DatabaseGroupNode)_database.get(content.get(iEntry).identifier());
      if (_query.getVersionClause() != null) {
        entry = this.versionReader(entry, _query.getVersionClause().getTimestamp());
        if (entry != null) {
          new AbsoluteXPathConsumer().consume(entry, _query.rootTargetPath(), queryHandler);
        }
      } else { // This is dead code because version clause defaults to NOW. 
        // Could handle "interpret missing version as NOW" here.
        new AbsoluteXPathConsumer().consume(entry, _query.rootTargetPath(), queryHandler);
      }
    }
    return result;
  }
View Full Code Here


    QueryResultSet result = new QueryResultSet();
    DatabaseContent content = _database.getMatchingEntries(_targetPath.getConditionListing());
    for (int iEntry = 0; iEntry < content.size(); iEntry++) {
      DatabaseGroupNode entry = (DatabaseGroupNode)_database.get(content.get(iEntry).identifier());
      new AbsoluteXPathConsumer().consume(entry, _targetPath, result);

    }

    return result;
View Full Code Here

TOP

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

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.