anl.aida.ae.gate
Class AbstractUGAnnotationBuilder

java.lang.Object
  extended by anl.aida.ae.gate.AbstractUGAnnotationBuilder
Direct Known Subclasses:
InputAnnotationBuilder, OutputAnnotationBuilder, OutputUpdateAnnBuilder

public abstract class AbstractUGAnnotationBuilder
extends java.lang.Object

Date: Jan 16, 2009 3:57:44 PM


Field Summary
protected  java.lang.String annotationSet
           
protected  java.util.List<FeatureBuilder> fBuilders
           
protected  java.lang.String gateType
           
protected  org.apache.uima.cas.Type type
           
 
Constructor Summary
AbstractUGAnnotationBuilder(org.apache.uima.cas.Type type, java.lang.String gateType)
           
 
Method Summary
 void addFeatureBuilder(FeatureBuilder builder)
          Adds the specified feature builder.
 java.lang.String getAnnotationSet()
          Gets the name of GATE annotation set, if any, used by this builder.
 java.lang.String getUIMAName()
          Gets the UIMA name of this annotation builder.
 void setAnnotationSet(java.lang.String annotationSet)
          Sets the name of GATE annotation set, if any, used by this builder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gateType

protected java.lang.String gateType

type

protected org.apache.uima.cas.Type type

annotationSet

protected java.lang.String annotationSet

fBuilders

protected java.util.List<FeatureBuilder> fBuilders
Constructor Detail

AbstractUGAnnotationBuilder

public AbstractUGAnnotationBuilder(org.apache.uima.cas.Type type,
                                   java.lang.String gateType)
Method Detail

getUIMAName

public java.lang.String getUIMAName()
Gets the UIMA name of this annotation builder.

Returns:
the UIMA name of this annotation builder.

getAnnotationSet

public java.lang.String getAnnotationSet()
Gets the name of GATE annotation set, if any, used by this builder.

Returns:
the name of GATE annotation set used by this builder, or null if not set is specified.

setAnnotationSet

public void setAnnotationSet(java.lang.String annotationSet)
Sets the name of GATE annotation set, if any, used by this builder.

Parameters:
annotationSet - the name of the annotation set.

addFeatureBuilder

public void addFeatureBuilder(FeatureBuilder builder)
Adds the specified feature builder.

Parameters:
builder - the builder to add