Package org.apache.uima.util
Class TCasToInlineXml
java.lang.Object
org.apache.uima.util.TCasToInlineXml
- All Implemented Interfaces:
TCasFormatter
Deprecated.
Generates an inline XML representation of a CAS. Annotation types are represented as XML tags,
features are represented as attributes. Note that features whose values are FeatureStructures are
not represented.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Deprecated.Deprecated.Produces a string representation of a CAS.format(CAS aCAS, FSMatchConstraint aFilter) Deprecated.Produces a string representation of a CAS.generateXML(CAS aCAS) Deprecated.generateXML(CAS aCAS, FSMatchConstraint aFilter) Deprecated.
-
Constructor Details
-
TCasToInlineXml
public TCasToInlineXml()Deprecated.
-
-
Method Details
-
destroy
public void destroy()Deprecated. -
format
Deprecated.Description copied from interface:TCasFormatterProduces a string representation of a CAS.- Specified by:
formatin interfaceTCasFormatter- Parameters:
aCAS- the CAS to be formatted- Returns:
- a string representation of
aCAS. - Throws:
CASException- if an exception occurs reading from the CAS
-
format
Deprecated.Description copied from interface:TCasFormatterProduces a string representation of a CAS. Only those feature structures that satisfy the specified filter will appear in the string representation.- Specified by:
formatin interfaceTCasFormatter- 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
-
generateXML
Deprecated.- Throws:
CASException
-
generateXML
Deprecated.- Throws:
CASException
-
CasToInlineXmlinstead.