public abstract class AbstractTextual extends AbstractCloneableSerializable implements Textual
Textual
interface. It implements
the readText() and toString() methods both by calling getText(). Thus,
extending classes only need to implement the getText method to fulfill the
Textual
interface.Constructor and Description |
---|
AbstractTextual()
Creates a new
AbstractTextual . |
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
readText()
Returns a new text reader for the text in this object.
|
java.lang.String |
toString() |
clone
public java.io.Reader readText()
Textual
public java.lang.String toString()
toString
in class java.lang.Object