Class DocumentTextHandler


  • public class DocumentTextHandler
    extends Object
    Handels to parse the DocumentText
    Author:
    weigel
    • Constructor Detail

      • DocumentTextHandler

        public DocumentTextHandler()
    • 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