Interface TypeParser
-
- All Known Implementing Classes:
EntityParser,FSArrayParser,PubDateParser,SourceParser,StandardTypeParser,StringArrayParser
public interface TypeParserstandard Interface to define an external Parser- Author:
- weigel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeBuildergetTypeBuilder()voidparseType(ConcreteType concreteType, com.ximpleware.VTDNav vn, org.apache.uima.jcas.JCas jcas, byte[] identifier, DocumentTextData docText)Parses a Type.
-
-
-
Method Detail
-
getTypeBuilder
TypeBuilder getTypeBuilder()
- 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
void parseType(ConcreteType concreteType, com.ximpleware.VTDNav vn, org.apache.uima.jcas.JCas jcas, byte[] identifier, DocumentTextData docText) throws Exception
Parses a Type. Gather all necessary Infomations from the vdtnav, and fill the concrete Type. The corresponding TypeTemplate is part of the ConcreteType- Parameters:
concreteType-xpath-vn-String- identifierDocumentTextData- docText- Throws:
Exceptionorg.apache.uima.collection.CollectionException
-
-