|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.cas.impl.FeatureStructureImplC
org.apache.uima.cas.impl.SofaFSImpl
public class SofaFSImpl
Implementation of the SofaFS interface.
| Field Summary |
|---|
| Fields inherited from class org.apache.uima.cas.impl.FeatureStructureImplC |
|---|
addr, casImpl |
| Constructor Summary | |
|---|---|
SofaFSImpl(int addr,
CASImpl cas)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImplC |
|---|
equals, getAddress, getCAS, getCASImpl, hashCode, setUp |
| Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
|---|
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.uima.cas.FeatureStructure |
|---|
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue |
| Constructor Detail |
|---|
public SofaFSImpl(int addr,
CASImpl cas)
| Method Detail |
|---|
public void setLocalSofaData(FeatureStructure aFS)
SofaFS
setLocalSofaData 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)
SofaFS
setLocalSofaData 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)
SofaFS
setRemoteSofaURI in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.public FeatureStructure getLocalFSData()
SofaFS
getLocalFSData 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()
SofaFS
getLocalStringData 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)
FeatureStructure
setStringValue 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)
FeatureStructure
setFeatureValue 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()
SofaFS
getSofaMime in interface SofaFSpublic java.lang.String getSofaURI()
SofaFS
getSofaURI in interface SofaFSpublic int getSofaRef()
SofaFS
getSofaRef in interface SofaFSpublic java.io.InputStream getSofaDataStream()
SofaFS
getSofaDataStream in interface SofaFSpublic java.lang.String getSofaID()
SofaFS
getSofaID in interface SofaFSThis method is duplicated in
org.apache.uima.jcas.cas.Sofa. Any changes should be made in both places.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||