public interface TCasFormatter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(CAS aCAS)
Produces a string representation of a CAS.
|
java.lang.String |
format(CAS aCAS,
FSMatchConstraint aFilter)
Produces a string representation of a CAS.
|
java.lang.String format(CAS aCAS) throws CASException
aCAS
- the CAS to be formattedaCAS
.CASException
- if an exception occurs reading from the CASjava.lang.String format(CAS aCAS, FSMatchConstraint aFilter) throws CASException
aCAS
- the CAS to be formattedaFilter
- a constraint which FeatureStructures must satisfy in order to be included in the
resulting stringaCAS
.CASException
- if an exception occurs reading from the CASCopyright © 2006–2014 The Apache Software Foundation. All rights reserved.