|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.infoset.fulltext.core.GenericDocument
public class GenericDocument
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.
| Field Summary | |
|---|---|
protected Map<String,FieldIF> |
fields
|
| Constructor Summary | |
|---|---|
GenericDocument()
|
|
| Method Summary | |
|---|---|
void |
addField(FieldIF field)
INTERNAL: Adds the given field to the document. |
FieldIF |
getField(String name)
INTERNAL: Returns the field with the specified name. |
Collection<FieldIF> |
getFields()
INTERNAL: Returns all the fields of this document. |
void |
removeField(FieldIF field)
INTERNAL: Removes the given field from the document. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,FieldIF> fields
| Constructor Detail |
|---|
public GenericDocument()
| Method Detail |
|---|
public FieldIF getField(String name)
DocumentIF
getField in interface DocumentIFpublic Collection<FieldIF> getFields()
DocumentIF
getFields in interface DocumentIFpublic void addField(FieldIF field)
DocumentIF
addField in interface DocumentIFpublic void removeField(FieldIF field)
DocumentIF
removeField in interface DocumentIFpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||