Class EntityParser
- java.lang.Object
-
- de.julielab.jcore.reader.xmlmapper.typeParser.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 Summary
Constructors Constructor Description EntityParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeBuildergetTypeBuilder()voidparseType(ConcreteType concreteType, com.ximpleware.VTDNav nav, 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 nav, 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
-
-