public class PrintAnnotations extends Object
| Constructor and Description |
|---|
PrintAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main program for testing this class.
|
static void |
printAnnotations(org.apache.uima.cas.CAS aCAS,
PrintStream aOut)
Prints all Annotations to a PrintStream.
|
static void |
printAnnotations(org.apache.uima.cas.CAS aCAS,
org.apache.uima.cas.Type aAnnotType,
PrintStream aOut)
Prints all Annotations of a specified Type to a PrintStream.
|
static void |
printFS(org.apache.uima.cas.FeatureStructure aFS,
org.apache.uima.cas.CAS aCAS,
int aNestingLevel,
PrintStream aOut)
Prints a FeatureStructure to a PrintStream.
|
public static void printAnnotations(org.apache.uima.cas.CAS aCAS,
PrintStream aOut)
aCAS - the CAS containing the FeatureStructures to printaOut - the PrintStream to which output will be writtenpublic static void printAnnotations(org.apache.uima.cas.CAS aCAS,
org.apache.uima.cas.Type aAnnotType,
PrintStream aOut)
aCAS - the CAS containing the FeatureStructures to printaAnnotType - the Type of Annotation to be printedaOut - the PrintStream to which output will be writtenpublic static void printFS(org.apache.uima.cas.FeatureStructure aFS,
org.apache.uima.cas.CAS aCAS,
int aNestingLevel,
PrintStream aOut)
aFS - the FeatureStructure to printaCAS - the CAS containing the FeatureStructureaNestingLevel - number of tabs to print before each lineaOut - the PrintStream to which output will be writtenpublic static void main(String[] args)
args - the argumentsCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.