Class StringArrayParser

  • All Implemented Interfaces:
    TypeParser

    public class StringArrayParser
    extends Object
    implements TypeParser
    Handels to parse a StringArray Type from a TypeTemplate to a ConcreteType
    Author:
    weigel
    • Constructor Detail

      • StringArrayParser

        public StringArrayParser()
    • Method Detail

      • 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
      • 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