Class DocumentTextHandler
- java.lang.Object
-
- de.julielab.jcore.reader.xmlmapper.mapper.DocumentTextHandler
-
public class DocumentTextHandler extends Object
Handels to parse the DocumentText- Author:
- weigel
-
-
Constructor Summary
Constructors Constructor Description DocumentTextHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPartOfDocumentTextXPath(int id)DocumentTextDataparseAndAddToCas(com.ximpleware.VTDNav vn, org.apache.uima.jcas.JCas jcas, byte[] identifier)voidsetExternalParserForPartOfDocument(int id, String externalParserClassName)voidsetXPathForPartOfDocumentText(int id, String xpath)
-
-
-
Method Detail
-
addPartOfDocumentTextXPath
public void addPartOfDocumentTextXPath(int id)
-
parseAndAddToCas
public DocumentTextData parseAndAddToCas(com.ximpleware.VTDNav vn, org.apache.uima.jcas.JCas jcas, byte[] identifier) throws com.ximpleware.VTDException
- Throws:
com.ximpleware.VTDException
-
setXPathForPartOfDocumentText
public void setXPathForPartOfDocumentText(int id, String xpath)
-
setExternalParserForPartOfDocument
public void setExternalParserForPartOfDocument(int id, String externalParserClassName) throws org.apache.uima.collection.CollectionException- Throws:
org.apache.uima.collection.CollectionException
-
-