public class Sofa extends TOP implements SofaFSImpl
FeatureStructureImplC.PrintReferences| Modifier and Type | Field and Description |
|---|---|
static String |
_FeatName_mimeType |
static String |
_FeatName_sofaArray |
static String |
_FeatName_sofaID |
static String |
_FeatName_sofaNum |
static String |
_FeatName_sofaString |
static String |
_FeatName_sofaURI |
static String |
_TypeName |
static int |
type |
static int |
typeIndexID |
_singleton_casView, _id, DISABLE_RUNTIME_FEATURE_VALIDATION, DISABLE_RUNTIME_FEATURE_VALUE_VALIDATION, IS_ENABLE_RUNTIME_FEATURE_VALIDATION, IS_ENABLE_RUNTIME_FEATURE_VALUE_VALIDATION, IS_V2_PRETTY_PRINT, V2_PRETTY_PRINT| Modifier | Constructor and Description |
|---|---|
protected |
Sofa() |
|
Sofa(TypeImpl t,
CASImpl c)
used by generator, not used Make a new Sofa
|
|
Sofa(TypeImpl t,
CASImpl c,
int sofaNum,
String viewName,
String mimeType) |
| Modifier and Type | Method and Description |
|---|---|
FeatureStructure |
getLocalFSData()
Get the Local Subject of Analysis returns null if not previously set.
|
String |
getLocalStringData()
Get the Local Subject of Analysis returns null if not previously set.
|
String |
getMimeType()
getter for mimeType - gets
|
TOP |
getSofaArray()
These getter methods are for creating method handle access The getter name must match the
feature name + transformation - used in generic pretty printing routines
|
InputStream |
getSofaDataStream()
Provides stream access to both local and remote Sofa data.
|
String |
getSofaID()
getter for sofaID
|
String |
getSofaMime()
Get the Sofa mime type.
|
int |
getSofaNum()
getter for sofaNum
|
int |
getSofaRef()
Get the Sofa Ref value.
|
String |
getSofaString() |
String |
getSofaURI()
Get the Sofa URI value.
|
int |
getTypeIndexID() |
boolean |
isSofaDataSet() |
void |
setFeatureValue(Feature feat,
FeatureStructure fs)
Set a feature value to another FS.
|
void |
setIntValue(Feature feat,
Integer val) |
void |
setLocalSofaData(FeatureStructure aFS)
Set the Local Subject of Analysis to be a predefined ArrayFS.
|
void |
setLocalSofaData(FeatureStructure aFS,
String mimeType) |
void |
setLocalSofaData(String aString)
Set the Local Subject of Analysis to be a String.
|
void |
setLocalSofaData(String aString,
String mimeType) |
void |
setLocalSofaDataNoDocAnnotUpdate(String aString)
Internal use: used by deserializers
|
void |
setMimeType(String v) |
void |
setRemoteSofaURI(String aURI)
Set the URI for a Remote Subject of Analysis.
|
void |
setRemoteSofaURI(String aURI,
String mimeType) |
void |
setStringValue(Feature feat,
String val)
Set the string value of a feature.
|
_createJCasHashMapReserve, _createSearchKey_copyIntAndRefArraysEqTypesFrom, _copyIntAndRefArraysFrom, _copyIntArrayEqTypesFrom, _getBooleanValueNc, _getBooleanValueNc, _getByteValueNc, _getByteValueNc, _getDoubleValueNc, _getDoubleValueNc, _getFeatFromAdjOffset, _getFeatureValueNc, _getFeatureValueNc, _getFloatValueNc, _getFloatValueNc, _getIntLikeValue, _getIntValueNc, _getIntValueNc, _getLongValueNc, _getLongValueNc, _getRefValueCommon, _getShortValueNc, _getShortValueNc, _getStringValueNc, _getStringValueNc, _getTypeCode, _getTypeImpl, _getView, _id, _inSetSortedIndex, _isJCasHashMapReserve, _isPearTrampoline, _maybeGetBaseForPearFs, _maybeGetBaseForPearFs, _maybeGetPearFs, _maybeGetPearFs, _resetInSetSortedIndex, _setBooleanValueNcNj, _setBooleanValueNcNj, _setBooleanValueNfc, _setByteValueNcNj, _setByteValueNcNj, _setByteValueNfc, _setDoubleValueNcNj, _setDoubleValueNcNj, _setDoubleValueNfc, _setFeatureValueNcNj, _setFeatureValueNcNj, _setFeatureValueNcWj, _setFloatValueNcNj, _setFloatValueNcNj, _setFloatValueNfc, _setInSetSortedIndexed, _setIntLikeValue, _setIntLikeValueNcNj, _setIntValueCJ, _setIntValueNcNj, _setIntValueNcNj, _setIntValueNfc, _setIntValueNfcCJ, _setJCasHashMapReserve, _setLongValueCJ, _setLongValueNcNj, _setLongValueNcNj, _setLongValueNfc, _setLongValueNfcCJ, _setPearTrampoline, _setRefValueCJ, _setRefValueCommon, _setRefValueCommonWj, _setRefValueNfcCJ, _setShortValueNcNj, _setShortValueNcNj, _setShortValueNfc, _setStringValueNcNj, _setStringValueNcWj, _setStringValueNfc, _setTypeImpl, addStringOrPrimitive, addToIndexes, addToIndexes, addToIndexes, clone, compare, equals, getAddress, getBooleanValue, getByteValue, getCAS, getCASImpl, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getLowLevelCas, getShortValue, getStringValue, getType, hashCode, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrintShort, removeFromIndexes, removeFromIndexes, removeFromIndexes, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, toShortString, toString, toString, wrapGetIntCatchExceptionfinalize, getClass, notify, notifyAll, wait, wait, wait_getTypeCode, _id, clone, equals, getAddress, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getJCas, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValuepublic static final String _TypeName
public static final String _FeatName_sofaNum
public static final String _FeatName_sofaID
public static final String _FeatName_mimeType
public static final String _FeatName_sofaArray
public static final String _FeatName_sofaString
public static final String _FeatName_sofaURI
public static final int typeIndexID
public static final int type
protected Sofa()
public Sofa(TypeImpl t, CASImpl c)
c - -t - -public int getTypeIndexID()
getTypeIndexID in class TOPpublic int getSofaNum()
getSofaNum in interface SofaFSpublic String getSofaID()
public String getMimeType()
public void setLocalSofaData(FeatureStructure aFS)
SofaFSsetLocalSofaData in interface SofaFSaFS - the SofAThis method is duplicated in
SofaFSImpl. Any changes should be made in both places. aFS must be an arraypublic void setLocalSofaData(FeatureStructure aFS, String mimeType)
public void setLocalSofaData(String aString)
SofaFSsetLocalSofaData in interface SofaFSaString - The subject of analysisSofaFS.setLocalSofaData(String)public void setLocalSofaDataNoDocAnnotUpdate(String aString)
aString - the string to updatepublic FeatureStructure getLocalFSData()
SofaFSgetLocalFSData in interface SofaFSreturns an UIMA Array whose data represents
the sofapublic String getLocalStringData()
SofaFSgetLocalStringData in interface SofaFSSofaFS.getLocalStringData()public void setRemoteSofaURI(String aURI)
SofaFSsetRemoteSofaURI in interface SofaFSaURI - the URI for a remote SofaThis method is duplicated in
SofaFSImpl. Any changes should be made in both places.public boolean isSofaDataSet()
public String getSofaMime()
SofaFSgetSofaMime in interface SofaFSpublic String getSofaURI()
SofaFSgetSofaURI in interface SofaFSpublic int getSofaRef()
SofaFSgetSofaRef in interface SofaFSpublic InputStream getSofaDataStream()
SofaFSgetSofaDataStream in interface SofaFSpublic TOP getSofaArray()
public String getSofaString()
public void setStringValue(Feature feat, String val)
FeatureStructuresetStringValue in interface FeatureStructuresetStringValue in class FeatureStructureImplCfeat - The feature whose value we want to set.val - The string we're setting the feature to.public void setFeatureValue(Feature feat, FeatureStructure fs)
FeatureStructuresetFeatureValue in interface FeatureStructuresetFeatureValue in class FeatureStructureImplCfeat - The feature whose value should be set.fs - The value FS.public void setMimeType(String v)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.