Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes

org::apache::uima::examples::XmlDetagger Class Reference

Inheritance diagram for org::apache::uima::examples::XmlDetagger:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::examples::XmlDetagger:
Collaboration graph
[legend]

List of all members.

Classes

class  DetagHandler

Public Member Functions

void batchProcessComplete () throws AnalysisEngineProcessException
void collectionProcessComplete () throws AnalysisEngineProcessException
void destroy ()
final int getCasInstancesRequired ()
Class< CASgetRequiredCasInterface ()
final boolean hasNext () throws AnalysisEngineProcessException
void initialize (UimaContext aContext) throws ResourceInitializationException
final AbstractCas next () throws AnalysisEngineProcessException
final void process (AbstractCas aCAS) throws AnalysisEngineProcessException
void process (CAS aCAS) throws AnalysisEngineProcessException
void reconfigure () throws ResourceConfigurationException, ResourceInitializationException
void setResultSpecification (ResultSpecification aResultSpec)
void typeSystemInit (TypeSystem aTypeSystem) throws AnalysisEngineProcessException

Static Public Attributes

static final String PARAM_XMLTAG = "XmlTagContainingText"

Protected Member Functions

final UimaContext getContext ()
ResultSpecification getResultSpecification ()

Private Attributes

String mXmlTagContainingText = null
SAXParserFactory parserFactory = SAXParserFactory.newInstance()
Type sourceDocInfoType

Detailed Description

A multi-sofa annotator that does XML detagging. Reads XML data from the input Sofa (named "xmlDocument"); this data can be stored in the CAS as a string or array, or it can be a URI to a remote file. The XML is parsed using the JVM's default parser, and the plain-text content is written to a new sofa called "plainTextDocument".

Definition at line 46 of file XmlDetagger.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index