Class SourceParser
- java.lang.Object
-
- de.julielab.jcore.reader.xmlmapper.typeParser.SourceParser
-
- All Implemented Interfaces:
TypeParser
public class SourceParser extends Object implements TypeParser
Handels to parse a Source Feature from a TypeTemplate to a ConcreteType- Author:
- weigel
-
-
Constructor Summary
Constructors Constructor Description SourceParser()
-
Method Summary
All Methods Instance Methods Concrete 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
public TypeBuilder getTypeBuilder()
- Specified by:
getTypeBuilderin interfaceTypeParser- 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 vn, org.apache.uima.jcas.JCas jcas, byte[] identifier, DocumentTextData docText) throws Exception
Description copied from interface:TypeParserParses a Type. Gather all necessary Infomations from the vdtnav, and fill the concrete Type. The corresponding TypeTemplate is part of the ConcreteType- Specified by:
parseTypein interfaceTypeParser- Throws:
Exceptionorg.apache.uima.collection.CollectionException
-
-