Global.helma.Search.Document (document)
  • Parameter {org.apache.lucene.document.Document}:
    document Optional Lucene Document object that should be wrapped by this Document instance.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
1017:   helma.Search.Document = function(document) {
1018:       if (!document)
1019:           document = new Packages.org.apache.lucene.document.Document();
1020:   
1021:       /**
1022:        * Returns the wrapped Lucene Document object
1023:        * @return The wrapped Document object
1024:        * @type org.apache.lucene.document.Document
1025:        */
1026:      this.getDocument = function() {
1027:          return document;
1028:      };
1029:  
1030:      return this;
1031:  }