com.languagecomputer.api.text
Class GenericDefaultText
java.lang.Object
com.languagecomputer.api.text.DefaultText
com.languagecomputer.api.text.GenericDefaultText
- All Implemented Interfaces:
- Text
public class GenericDefaultText
- extends DefaultText
Generic implementation of a Text
object for annotations or other
types of Text
objects which are not included in either the
DocumentXML
or QueryXML
specifications.
- Since:
- 1.0
- Author:
- Matthew Titsworth
Methods inherited from class com.languagecomputer.api.text.DefaultText |
getAnnotationType, getCongruentAnnotations, getDocument, getDocumentID, getEndCharOffset, getIntersectingAnnotations, getRawString, getStartCharOffset, getSubAnnotations, getSuperAnnotations, setAnnotationType, setDocument, setEndCharOffset, setRawString, setStartCharOffset, toString |
GenericDefaultText
public GenericDefaultText()
setValue
public void setValue(String value)
- Sets the value. The value for this object is abstract in that it can be
used for whatever purpose the implementor sees fit to use it for. It is
meant to represent quantities not covered within the previously defined
annotations.
- Parameters:
value
- The String
representing the value to be
contained on this GenericDefaultText
.
getValue
public String getValue()
- Returns the
value
contained by this object.
- Returns:
- The value contained by the object.
Copyright © 2009. All Rights Reserved.