public class CasToInlineXml
extends java.lang.Object
| Constructor and Description |
|---|
CasToInlineXml() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This destroy method does nothing.
|
java.lang.String |
format(CAS aCAS)
Formats a CAS as a String.
|
java.lang.String |
format(CAS aCAS,
FSMatchConstraint aFilter)
Formats a CAS as a String.
|
java.lang.String |
generateXML(CAS aCAS)
Generates inline XML from a CAS.
|
java.lang.String |
generateXML(CAS aCAS,
FSMatchConstraint aFilter)
Generates inline XML from a CAS.
|
public void destroy()
Resource.destroy()public java.lang.String format(CAS aCAS) throws CASException
CASExceptionpublic java.lang.String format(CAS aCAS, FSMatchConstraint aFilter) throws CASException
CASExceptionpublic java.lang.String generateXML(CAS aCAS) throws CASException
aCAS - CAS to generate fromCASExceptionpublic 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.CASExceptionCopyright © 2013. All Rights Reserved.