public class GenericDocument extends Object implements DocumentIF, Serializable
Constructor and Description |
---|
GenericDocument() |
Modifier and Type | Method and Description |
---|---|
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() |
public FieldIF getField(String name)
DocumentIF
getField
in interface DocumentIF
public Collection<FieldIF> getFields()
DocumentIF
getFields
in interface DocumentIF
public void addField(FieldIF field)
DocumentIF
addField
in interface DocumentIF
public void removeField(FieldIF field)
DocumentIF
removeField
in interface DocumentIF