Class EntityParser

  • All Implemented Interfaces:
    TypeParser

    public class EntityParser
    extends Object
    implements TypeParser
    A special XML mapper parser capable of parsing the IeXML in-line XML annotations used in the CalBc and Mantra projects.
    Author:
    faessler
    • Constructor Detail

      • EntityParser

        public EntityParser()
    • Method Detail

      • getTypeBuilder

        public TypeBuilder getTypeBuilder()
        Specified by:
        getTypeBuilder in interface TypeParser
        Returns:
        an instance of the TypeBuilder class. Wheter the Type Need special handling or not. if not just return a new instance of the StandardTypeBuilder
      • parseType

        public void parseType​(ConcreteType concreteType,
                              com.ximpleware.VTDNav nav,
                              org.apache.uima.jcas.JCas jcas,
                              byte[] identifier,
                              DocumentTextData docText)
                       throws Exception
        Description copied from interface: TypeParser
        Parses a Type. Gather all necessary Infomations from the vdtnav, and fill the concrete Type. The corresponding TypeTemplate is part of the ConcreteType
        Specified by:
        parseType in interface TypeParser
        Throws:
        Exception
        org.apache.uima.collection.CollectionException