Class PubDateParser

  • All Implemented Interfaces:
    TypeParser

    public class PubDateParser
    extends Object
    implements TypeParser
    A Medline TypeParser for the PubDate
    Author:
    weigel
    • Constructor Detail

      • PubDateParser

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