Package | Description |
---|---|
gov.sandia.cognition.text.convert |
Provides classes for converting objects to a textual representation.
|
gov.sandia.cognition.text.document |
Provides representations for textual documents.
|
Modifier and Type | Method and Description |
---|---|
Field |
DocumentSingleFieldConverter.evaluate(Document input) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractField
An abstract implementation of the
Field interface. |
class |
DefaultDateField
A field for storing a date.
|
class |
DefaultTextField
A default implementation of the
Field interface. |
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,Field> |
AbstractDocument.fieldMap
A mapping of field names to fields.
|
Modifier and Type | Method and Description |
---|---|
Field |
AbstractDocument.getAccessedDateField() |
Field |
Document.getAccessedDateField()
Gets the commonly-used accessed date field.
|
Field |
AbstractDocument.getAuthorField() |
Field |
Document.getAuthorField()
Gets the commonly-used author field.
|
Field |
AbstractDocument.getBodyField() |
Field |
Document.getBodyField()
Gets the commonly-used body field.
|
Field |
AbstractDocument.getField(java.lang.String fieldName) |
Field |
Document.getField(java.lang.String fieldName)
Gets the field from the document with the given field name, if it exists.
|
Field |
AbstractDocument.getLastModifiedDateField() |
Field |
Document.getLastModifiedDateField()
Gets the commonly-used last modified date field.
|
Field |
AbstractDocument.getTitleField() |
Field |
Document.getTitleField()
Gets the commonly-used title field.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.HashMap<java.lang.String,Field> |
AbstractDocument.getFieldMap()
Gets the mapping of field name to the field.
|
java.util.Collection<Field> |
AbstractDocument.getFields() |
java.util.Collection<Field> |
Document.getFields()
Gets the collection of the fields that make up the document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDocument.addField(Field field)
Adds a field to the document.
|
void |
DefaultDocument.addField(Field field) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDocument.setFieldMap(java.util.HashMap<java.lang.String,Field> fieldMap)
Sets the mapping of field name to the field.
|