Interface DocumentIF

All Known Implementing Classes:
GenericDocument, LuceneDocument, RDBMSDocument, TopicMapDocument

public interface DocumentIF
INTERNAL: Represents an indexable unit of information. A document contains named fields which can have values of the types String or Reader.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    INTERNAL: Adds the given field to the document.
    INTERNAL: Returns the field with the specified name.
    INTERNAL: Returns all the fields of this document.
    void
    INTERNAL: Removes the given field from the document.
  • Method Details

    • getField

      FieldIF getField(String name)
      INTERNAL: Returns the field with the specified name.
    • getFields

      Collection<FieldIF> getFields()
      INTERNAL: Returns all the fields of this document.
      Returns:
      A collection of FieldIF objects.
    • addField

      void addField(FieldIF field)
      INTERNAL: Adds the given field to the document.
    • removeField

      void removeField(FieldIF field)
      INTERNAL: Removes the given field from the document.