Package org.dbwiki.data.index

Examples of org.dbwiki.data.index.CurrentContentIterator


    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()) {
      iterator = new VersionContentIterator(_content, ((RequestParameterVersionSingle)versionParameter).versionNumber());
    }
    // may be unnecessary
    assert(iterator != null);
View Full Code Here


    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()) {
      iterator = new VersionContentIterator(_content, ((RequestParameterVersionSingle)version).versionNumber());
    }
   
    if (iterator != null) {
View Full Code Here

TOP

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

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.