Package org.apache.uima.util
Interface TCasFormatter
- All Known Implementing Classes:
TCasToInlineXml
public interface TCasFormatter
Interface for components that generate a String representation of a CAS.
-
Method Summary
-
Method Details
-
format
Produces a string representation of a CAS.- Parameters:
aCAS
- the CAS to be formatted- Returns:
- a string representation of
aCAS
. - Throws:
CASException
- if an exception occurs reading from the CAS
-
format
Produces a string representation of a CAS. Only those feature structures that satisfy the specified filter will appear in the string representation.- Parameters:
aCAS
- the CAS to be formattedaFilter
- a constraint which FeatureStructures must satisfy in order to be included in the resulting string- Returns:
- a string representation of
aCAS
. - Throws:
CASException
- if an exception occurs reading from the CAS
-