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 TypeMethodDescriptionvoidINTERNAL: Adds the given field to the document.INTERNAL: Returns the field with the specified name.INTERNAL: Returns all the fields of this document.voidremoveField(FieldIF field) INTERNAL: Removes the given field from the document.
-
Method Details
-
getField
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
INTERNAL: Adds the given field to the document. -
removeField
INTERNAL: Removes the given field from the document.
-