public class StandardTypeBuilder extends Object implements TypeBuilder
| Constructor and Description |
|---|
StandardTypeBuilder()
creates an new instance of the StandardTypeBuilder
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.uima.jcas.tcas.Annotation |
buildType(ConcreteType concreteType,
org.apache.uima.jcas.JCas jcas)
Instantiates a UIMA type object belonging to the class given by
ConcreteType.getFullClassName(). |
public StandardTypeBuilder()
public org.apache.uima.jcas.tcas.Annotation buildType(ConcreteType concreteType, org.apache.uima.jcas.JCas jcas) throws org.apache.uima.collection.CollectionException
ConcreteType.getFullClassName().
All the type's features are set appropriately to their values given by
ConcreteType.getConcreteFeatures().
buildType in interface TypeBuilderconcreteType - A ConcreteType object holding all information
required to instantiate an actual object of the UIMA type
represented by this object.jcas - The JCas object the returned
Annotation object should be added to.Annotation object of the class given by
ConcreteType.getFullClassName() with all features and
their values given by ConcreteType.getConcreteFeatures().org.apache.uima.collection.CollectionExceptionCopyright © 2016 JULIE Lab Jena, Germany. All rights reserved.