Package org.dbwiki.data.index

Examples of org.dbwiki.data.index.FullContentIterator


    RequestParameterVersion versionParameter = RequestParameter.versionParameter(_request.parameters().get(RequestParameter.ParameterVersion));

    ContentIterator iterator = null;

    if (versionParameter.versionAll()) {
      iterator = new FullContentIterator(_content);
    } else if (versionParameter.versionChangesSince()) {
      iterator = new ChangesSinceContentIterator(_content, ((RequestParameterVersionChanges)versionParameter).versionNumber());
    } else if (versionParameter.versionCurrent()) {
      iterator = new CurrentContentIterator(_content);
    } else if (versionParameter.versionSingle()) {
View Full Code Here


    ContentIterator iterator = null;
   
   
    RequestParameterVersion version = RequestParameter.versionParameter(_request.parameters().get(RequestParameter.ParameterVersion));
    if (version.versionAll()) {
      iterator = new FullContentIterator(_content);
    } else if (version.versionChangesSince()) {
      iterator = new ChangesSinceContentIterator(_content, ((RequestParameterVersionChanges)version).versionNumber());
    } else if (version.versionCurrent()) {
      iterator = new CurrentContentIterator(_content);
    } else if (version.versionSingle()) {
View Full Code Here

TOP

Related Classes of org.dbwiki.data.index.FullContentIterator

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.