|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.util.TCasToInlineXml
CasToInlineXml
instead.
@Deprecated public class TCasToInlineXml
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 | |
---|---|
TCasToInlineXml()
Deprecated. |
Method Summary | |
---|---|
void |
destroy()
Deprecated. This destroy method does nothing. |
String |
format(CAS aCAS)
Deprecated. Produces a string representation of a CAS. |
String |
format(CAS aCAS,
FSMatchConstraint aFilter)
Deprecated. Produces a string representation of a CAS. |
String |
generateXML(CAS aCAS)
Deprecated. Generates inline XML from a CAS. |
String |
generateXML(CAS aCAS,
FSMatchConstraint aFilter)
Deprecated. Generates inline XML from a CAS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TCasToInlineXml()
Method Detail |
---|
public void destroy()
Resource.destroy()
public String format(CAS aCAS) throws CASException
TCasFormatter
format
in interface TCasFormatter
aCAS
- the CAS to be formatted
aCAS
.
CASException
- if an exception occurs reading from the CASTCasFormatter.format(CAS)
public 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 string
aCAS
.
CASException
- if an exception occurs reading from the CASTCasFormatter.format(CAS, FSMatchConstraint)
public String generateXML(CAS aCAS) throws CASException
aCAS
- CAS to generate from
CASException
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |