Interface DocumentIF
-
- All Known Implementing Classes:
GenericDocument,LuceneDocument,RDBMSDocument,TopicMapDocument
public interface DocumentIFINTERNAL: Represents an indexable unit of information. A document contains named fields which can have values of the types String or Reader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddField(FieldIF field)INTERNAL: Adds the given field to the document.FieldIFgetField(String name)INTERNAL: Returns the field with the specified name.Collection<FieldIF>getFields()INTERNAL: Returns all the fields of this document.voidremoveField(FieldIF field)INTERNAL: Removes the given field from the document.
-
-
-
Method Detail
-
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.
-
-