org.xces.creole
Class SaveStandoff

java.lang.Object
  extended by gate.util.AbstractFeatureBearer
      extended by gate.creole.AbstractResource
          extended by gate.creole.AbstractProcessingResource
              extended by ANC.creole.ANCProcessingResource
                  extended by ANC.creole.ANCLanguageAnalyser
                      extended by org.xces.creole.SaveStandoff
All Implemented Interfaces:
gate.creole.ANNIEConstants, gate.Executable, gate.LanguageAnalyser, gate.ProcessingResource, gate.Resource, gate.util.FeatureBearer, gate.util.NameBearer, java.io.Serializable, org.xces.util.XcesAna

public class SaveStandoff
extends ANC.creole.ANCLanguageAnalyser
implements org.xces.util.XcesAna

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class gate.creole.AbstractProcessingResource
gate.creole.AbstractProcessingResource.InternalStatusListener, gate.creole.AbstractProcessingResource.IntervalProgressListener
 
Field Summary
static java.lang.String DESTINATION_PARAMETER_NAME
           
static java.lang.String ENCODING_PARAMETER_NAME
           
static java.lang.String INPUTASNAME_PARAMETER_NAME
           
static java.lang.String NAMESPACE_PARAMETER_NAME
           
static java.lang.String SCHEMALOCATION_PARAMETER_NAME
           
static java.lang.String STANDOFFTAGS_PARAMETER_NAME
           
static java.lang.String VERSION_PARAMETER_NAME
           
 
Fields inherited from class ANC.creole.ANCLanguageAnalyser
corpus
 
Fields inherited from class ANC.creole.ANCProcessingResource
document, DOCUMENT_PARAMETER_NAME, failed
 
Fields inherited from class gate.creole.AbstractProcessingResource
interrupted
 
Fields inherited from class gate.creole.AbstractResource
name
 
Fields inherited from class gate.util.AbstractFeatureBearer
features
 
Fields inherited from interface org.xces.util.XcesAna
ANNO_FROM, ANNO_TAG, ANNO_TO, ANNO_TYPE, ATT_NAME, ATT_TAG, ATT_VALUE
 
Fields inherited from interface gate.creole.ANNIEConstants
ANNOTATION_COREF_FEATURE_NAME, DATE_ANNOTATION_TYPE, DATE_POSTED_ANNOTATION_TYPE, DOCUMENT_COREF_FEATURE_NAME, JOB_ID_ANNOTATION_TYPE, LOCATION_ANNOTATION_TYPE, LOOKUP_ANNOTATION_TYPE, LOOKUP_CLASS_FEATURE_NAME, LOOKUP_MAJOR_TYPE_FEATURE_NAME, LOOKUP_MINOR_TYPE_FEATURE_NAME, LOOKUP_ONTOLOGY_FEATURE_NAME, MONEY_ANNOTATION_TYPE, ORGANIZATION_ANNOTATION_TYPE, PERSON_ANNOTATION_TYPE, PERSON_GENDER_FEATURE_NAME, PR_NAMES, SENTENCE_ANNOTATION_TYPE, SPACE_TOKEN_ANNOTATION_TYPE, TOKEN_ANNOTATION_TYPE, TOKEN_CATEGORY_FEATURE_NAME, TOKEN_KIND_FEATURE_NAME, TOKEN_LENGTH_FEATURE_NAME, TOKEN_ORTH_FEATURE_NAME, TOKEN_STRING_FEATURE_NAME
 
Constructor Summary
SaveStandoff()
           
 
Method Summary
 void execute()
           
protected  java.lang.Object fix(java.lang.Object value)
           
 java.net.URL getDestination()
           
 java.lang.String getEncoding()
           
 java.lang.String getInputASName()
           
 java.lang.String getNamespace()
           
 java.lang.String getSchemaLocation()
           
 java.util.List getStandoffTags()
           
 java.lang.String getVersion()
           
 gate.Resource init()
           
 void reInit()
           
 void setDestination(java.net.URL destination)
           
 void setEncoding(java.lang.String encoding)
           
 void setInputASName(java.lang.String inputASName)
           
 void setNamespace(java.lang.String namespace)
           
 void setSchemaLocation(java.lang.String schemaLocation)
           
 void setStandoffTags(java.util.List standoffTags)
           
 void setVersion(java.lang.String version)
           
 void writeXml(java.io.Writer writer)
           
 
Methods inherited from class ANC.creole.ANCLanguageAnalyser
getCorpus, setCorpus
 
Methods inherited from class ANC.creole.ANCProcessingResource
defined, failed, getAnnotationEnd, getAnnotations, getAnnotationStart, getDocument, setDocument
 
Methods inherited from class gate.creole.AbstractProcessingResource
addProgressListener, addStatusListener, cleanup, fireProcessFinished, fireProgressChanged, fireStatusChanged, interrupt, isInterrupted, removeProgressListener, removeStatusListener
 
Methods inherited from class gate.creole.AbstractResource
checkParameterValues, getBeanInfo, getName, getParameterValue, getParameterValue, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners
 
Methods inherited from class gate.util.AbstractFeatureBearer
getFeatures, setFeatures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gate.LanguageAnalyser
getDocument, setDocument
 
Methods inherited from interface gate.Resource
cleanup, getParameterValue, setParameterValue, setParameterValues
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface gate.util.NameBearer
getName, setName
 
Methods inherited from interface gate.Executable
interrupt, isInterrupted
 

Field Detail

DESTINATION_PARAMETER_NAME

public static final java.lang.String DESTINATION_PARAMETER_NAME
See Also:
Constant Field Values

INPUTASNAME_PARAMETER_NAME

public static final java.lang.String INPUTASNAME_PARAMETER_NAME
See Also:
Constant Field Values

STANDOFFTAGS_PARAMETER_NAME

public static final java.lang.String STANDOFFTAGS_PARAMETER_NAME
See Also:
Constant Field Values

ENCODING_PARAMETER_NAME

public static final java.lang.String ENCODING_PARAMETER_NAME
See Also:
Constant Field Values

VERSION_PARAMETER_NAME

public static final java.lang.String VERSION_PARAMETER_NAME
See Also:
Constant Field Values

NAMESPACE_PARAMETER_NAME

public static final java.lang.String NAMESPACE_PARAMETER_NAME
See Also:
Constant Field Values

SCHEMALOCATION_PARAMETER_NAME

public static final java.lang.String SCHEMALOCATION_PARAMETER_NAME
See Also:
Constant Field Values
Constructor Detail

SaveStandoff

public SaveStandoff()
Method Detail

init

public gate.Resource init()
                   throws gate.creole.ResourceInstantiationException
Specified by:
init in interface gate.Resource
Overrides:
init in class gate.creole.AbstractProcessingResource
Throws:
gate.creole.ResourceInstantiationException

reInit

public void reInit()
            throws gate.creole.ResourceInstantiationException
Specified by:
reInit in interface gate.ProcessingResource
Overrides:
reInit in class gate.creole.AbstractProcessingResource
Throws:
gate.creole.ResourceInstantiationException

execute

public void execute()
             throws gate.creole.ExecutionException
Specified by:
execute in interface gate.Executable
Overrides:
execute in class gate.creole.AbstractProcessingResource
Throws:
gate.creole.ExecutionException

writeXml

public void writeXml(java.io.Writer writer)
              throws java.io.IOException
Throws:
java.io.IOException

fix

protected java.lang.Object fix(java.lang.Object value)

setDestination

public void setDestination(java.net.URL destination)

getDestination

public java.net.URL getDestination()

setInputASName

public void setInputASName(java.lang.String inputASName)

getInputASName

public java.lang.String getInputASName()

setStandoffTags

public void setStandoffTags(java.util.List standoffTags)

getStandoffTags

public java.util.List getStandoffTags()

setEncoding

public void setEncoding(java.lang.String encoding)

getEncoding

public java.lang.String getEncoding()

setNamespace

public void setNamespace(java.lang.String namespace)

getNamespace

public java.lang.String getNamespace()

setSchemaLocation

public void setSchemaLocation(java.lang.String schemaLocation)

getSchemaLocation

public java.lang.String getSchemaLocation()

setVersion

public void setVersion(java.lang.String version)

getVersion

public java.lang.String getVersion()