Package org.apache.uima.tools.cvd
Class FSNode
java.lang.Object
org.apache.uima.tools.cvd.FSTreeNode
org.apache.uima.tools.cvd.FSNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
(package private) static final int
private final int
(package private) static final int
(package private) static final int
(package private) static final int
(package private) static final int
private final Feature
(package private) static final int
private final FSTreeModel
(package private) static final int
private final boolean
private boolean
(package private) static final int
private static final int
private final int
(package private) static final int
(package private) static final int
(package private) static final int
Fields inherited from class org.apache.uima.tools.cvd.FSTreeNode
children
-
Constructor Summary
ConstructorsConstructorDescriptionFSNode
(FSTreeModel fSTreeModel, int nodeClass, long addr, int elem) FSNode
(FSTreeModel fSTreeModel, int nodeClass, long addr, Feature feat) -
Method Summary
Modifier and TypeMethodDescriptionprivate static final String
(package private) int
int
getEnd()
private String
(package private) String
(package private) int
private String
int
getStart()
(package private) Type
getType()
private String
protected void
boolean
(package private) boolean
private static final String
toString()
Methods inherited from class org.apache.uima.tools.cvd.FSTreeNode
getChildCount, getChildren, removeAllChildren, setChildren
-
Field Details
-
maxStringLength
private static final int maxStringLength- See Also:
-
fSTreeModel
-
INT_FS
static final int INT_FS- See Also:
-
FLOAT_FS
static final int FLOAT_FS- See Also:
-
STRING_FS
static final int STRING_FS- See Also:
-
ARRAY_FS
static final int ARRAY_FS- See Also:
-
STD_FS
static final int STD_FS- See Also:
-
DISPLAY_NODE
static final int DISPLAY_NODE- See Also:
-
BYTE_FS
static final int BYTE_FS- See Also:
-
BOOL_FS
static final int BOOL_FS- See Also:
-
SHORT_FS
static final int SHORT_FS- See Also:
-
LONG_FS
static final int LONG_FS- See Also:
-
DOUBLE_FS
static final int DOUBLE_FS- See Also:
-
nodeClass
private final int nodeClass -
addr
private final long addr -
feat
-
arrayElem
private final int arrayElem -
isArrayElem
private final boolean isArrayElem -
isShortenedString
private boolean isShortenedString
-
-
Constructor Details
-
FSNode
FSNode(FSTreeModel fSTreeModel, int nodeClass, long addr, Feature feat) -
FSNode
FSNode(FSTreeModel fSTreeModel, int nodeClass, long addr, int elem)
-
-
Method Details
-
getNodeClass
int getNodeClass() -
initChildren
protected void initChildren()- Specified by:
initChildren
in classFSTreeNode
-
toString
-
getFeatureString
-
isShortenedString
boolean isShortenedString()- Returns:
- if this is a string node displaying a shortened string
-
getFullString
String getFullString()- Returns:
- for string nodes, return the string value (so it can be displayed seperately
-
getValueString
-
shortenString
-
escapeLt
-
getNullString
-
getArrayPos
int getArrayPos() -
getType
Type getType() -
isAnnotation
public boolean isAnnotation() -
getStart
public int getStart() -
getEnd
public int getEnd()
-