Package org.dbwiki.data.index

Examples of org.dbwiki.data.index.VersionContentIterator


    } 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);
   
    body.add("<ul CLASS=\"" + CSS.CSSIndexContent + "\">");
View Full Code Here


    } 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) {
      this.listContent(_request.wri().databaseIdentifier(), iterator, _request, body);
    }
View Full Code Here

TOP

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

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.