Class GenericDocument
java.lang.Object
net.ontopia.infoset.fulltext.core.GenericDocument
- All Implemented Interfaces:
Serializable,DocumentIF
- Direct Known Subclasses:
TopicMapDocument
INTERNAL: The default document implementation. This class contains a
single straightforward implementation of the DocumentIF
interfaces. The class uses a map internally to hold its FieldIF
elements.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.toString()
-
Field Details
-
fields
-
-
Constructor Details
-
GenericDocument
public GenericDocument()
-
-
Method Details
-
getField
Description copied from interface:DocumentIFINTERNAL: Returns the field with the specified name.- Specified by:
getFieldin interfaceDocumentIF
-
getFields
Description copied from interface:DocumentIFINTERNAL: Returns all the fields of this document.- Specified by:
getFieldsin interfaceDocumentIF- Returns:
- A collection of FieldIF objects.
-
addField
Description copied from interface:DocumentIFINTERNAL: Adds the given field to the document.- Specified by:
addFieldin interfaceDocumentIF
-
removeField
Description copied from interface:DocumentIFINTERNAL: Removes the given field from the document.- Specified by:
removeFieldin interfaceDocumentIF
-
toString
-