gov.sandia.cognition.text
Interface Textual

All Known Subinterfaces:
Field
All Known Implementing Classes:
AbstractField, AbstractTextual, DefaultDateField, DefaultTextField, DefaultTextual

public interface Textual

Interface for a class that contains text. Specifies methods for getting the text as a String or as a Reader object.

Since:
3.1
Author:
Justin Basilico

Method Summary
 String getText()
          Get the text part of this object.
 Reader readText()
          Returns a new text reader for the text in this object.
 

Method Detail

getText

String getText()
Get the text part of this object.

Returns:
The text part of this object.

readText

Reader readText()
Returns a new text reader for the text in this object.

Returns:
A new reader to read the text.