public class SofaFSImpl extends FeatureStructureImplC implements SofaFS
SofaFS interface.addr, casImpl| Constructor and Description |
|---|
SofaFSImpl(int addr,
CASImpl cas) |
| Modifier and Type | Method and Description |
|---|---|
FeatureStructure |
getLocalFSData()
Get the Local Subject of Analysis returns null if not previously set.
|
java.lang.String |
getLocalStringData()
Get the Local Subject of Analysis returns null if not previously set.
|
java.io.InputStream |
getSofaDataStream()
Provides stream access to both local and remote Sofa data.
|
java.lang.String |
getSofaID()
Get the Sofa globally unique name, after mapping.
|
java.lang.String |
getSofaMime()
Get the Sofa mime type.
|
int |
getSofaRef()
Get the Sofa Ref value.
|
java.lang.String |
getSofaURI()
Get the Sofa URI value.
|
void |
setFeatureValue(Feature feat,
FeatureStructure fs)
Set a feature value to another FS.
|
void |
setIntValue(Feature feat,
java.lang.Integer val) |
void |
setLocalSofaData(FeatureStructure aFS)
Set the Local Subject of Analysis to be a predefined ArrayFS.
|
void |
setLocalSofaData(java.lang.String aString)
Set the Local Subject of Analysis to be a String.
|
void |
setRemoteSofaURI(java.lang.String aURI)
Set the URI for a Remote Subject of Analysis.
|
void |
setStringValue(Feature feat,
java.lang.String val)
Set the string value of a feature.
|
equals, getAddress, getCAS, getCASImpl, hashCode, setUpclone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValuepublic SofaFSImpl(int addr,
CASImpl cas)
public void setLocalSofaData(FeatureStructure aFS)
SofaFSsetLocalSofaData in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.public void setLocalSofaData(java.lang.String aString)
SofaFSsetLocalSofaData in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.public void setRemoteSofaURI(java.lang.String aURI)
SofaFSsetRemoteSofaURI in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.public FeatureStructure getLocalFSData()
SofaFSgetLocalFSData in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.public java.lang.String getLocalStringData()
SofaFSgetLocalStringData in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.public void setStringValue(Feature feat, java.lang.String val)
FeatureStructuresetStringValue in interface FeatureStructuresetStringValue in class FeatureStructureImplfeat - 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 FeatureStructureImplfeat - The feature whose value should be set.fs - The value FS.public void setIntValue(Feature feat, java.lang.Integer val)
public java.lang.String getSofaMime()
SofaFSgetSofaMime in interface SofaFSpublic java.lang.String getSofaURI()
SofaFSgetSofaURI in interface SofaFSpublic int getSofaRef()
SofaFSgetSofaRef in interface SofaFSpublic java.io.InputStream getSofaDataStream()
SofaFSgetSofaDataStream in interface SofaFSpublic java.lang.String getSofaID()
SofaFSgetSofaID in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.Copyright © 2013. All Rights Reserved.