CasToInlineXml
instead.@Deprecated public class TCasToInlineXml extends java.lang.Object implements TCasFormatter
Constructor and Description |
---|
TCasToInlineXml()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Deprecated.
This destroy method does nothing.
|
java.lang.String |
format(CAS aCAS)
Deprecated.
Produces a string representation of a CAS.
|
java.lang.String |
format(CAS aCAS,
FSMatchConstraint aFilter)
Deprecated.
Produces a string representation of a CAS.
|
java.lang.String |
generateXML(CAS aCAS)
Deprecated.
Generates inline XML from a CAS.
|
java.lang.String |
generateXML(CAS aCAS,
FSMatchConstraint aFilter)
Deprecated.
Generates inline XML from a CAS.
|
public void destroy()
Resource.destroy()
public java.lang.String format(CAS aCAS) throws CASException
TCasFormatter
format
in interface TCasFormatter
aCAS
- the CAS to be formattedaCAS
.CASException
- if an exception occurs reading from the CASTCasFormatter.format(CAS)
public java.lang.String format(CAS aCAS, FSMatchConstraint aFilter) throws CASException
TCasFormatter
format
in interface TCasFormatter
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 CASTCasFormatter.format(CAS, FSMatchConstraint)
public java.lang.String generateXML(CAS aCAS) throws CASException
aCAS
- CAS to generate fromCASException
public java.lang.String generateXML(CAS aCAS, FSMatchConstraint aFilter) throws CASException
aCAS
- CAS to generate fromaFilter
- constraint that determines which annotations are included in the output. If null (or
ommitted), all annotations are included.CASException
Copyright © 2013. All Rights Reserved.