|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.cas.impl.FeatureStructureImpl org.apache.uima.jcas.cas.TOP org.apache.uima.jcas.cas.Sofa
public class Sofa
Updated by JCasGen Fri Apr 29 16:05:04 EDT 2005
Field Summary | |
---|---|
static int |
type
|
static int |
typeIndexID
|
Fields inherited from class org.apache.uima.jcas.cas.TOP |
---|
addr, jcasType |
Constructor Summary | |
---|---|
protected |
Sofa()
Never called. |
|
Sofa(int addr,
TOP_Type type)
Internal - constructor used by generator |
|
Sofa(JCas jcas,
SofaID ID,
String mimeType)
Deprecated. As of v2.0, use JCasImpl.createView(String) to create a view, which will
also create the Sofa for that view. |
Method Summary | |
---|---|
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 |
InputStream |
getSofaDataStream()
Provides stream access to both local and remote Sofa data. |
String |
getSofaID()
getter for sofaID - gets |
String |
getSofaMime()
Get the Sofa mime type. |
int |
getSofaNum()
getter for sofaNum - gets |
int |
getSofaRef()
Get the Sofa Ref value. |
String |
getSofaURI()
Get the Sofa URI value. |
int |
getTypeIndexID()
used to obtain reference to the TOP_Type instance |
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(String aString)
Set the Local Subject of Analysis to be a String. |
void |
setRemoteSofaURI(String aURI)
Set the URI for a Remote Subject of Analysis. |
void |
setStringValue(Feature feat,
String val)
Set the string value of a feature. |
Methods inherited from class org.apache.uima.jcas.cas.TOP |
---|
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
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 |
Field Detail |
---|
public static final int typeIndexID
public static final int type
Constructor Detail |
---|
protected Sofa()
public Sofa(int addr, TOP_Type type)
@Deprecated public Sofa(JCas jcas, SofaID ID, String mimeType)
JCasImpl.createView(String)
to create a view, which will
also create the Sofa for that view.
Method Detail |
---|
public int getTypeIndexID()
TOP
getTypeIndexID
in class TOP
public int getSofaNum()
public String getSofaID()
getSofaID
in interface SofaFS
public String getMimeType()
public void setLocalSofaData(FeatureStructure aFS)
SofaFS
setLocalSofaData
in interface SofaFS
This method is duplicated in
SofaFSImpl. Any changes should be made in both places.
public void setLocalSofaData(String aString)
SofaFS
setLocalSofaData
in interface SofaFS
This method is duplicated in
SofaFSImpl. Any changes should be made in both places.
public FeatureStructure getLocalFSData()
SofaFS
getLocalFSData
in interface SofaFS
This method is duplicated in SofaFSImpl. Any
changes should be made in both places.
public String getLocalStringData()
SofaFS
getLocalStringData
in interface SofaFS
This method is duplicated in SofaFSImpl.
Any changes should be made in both places.
public void setRemoteSofaURI(String aURI)
SofaFS
setRemoteSofaURI
in interface SofaFS
This method is duplicated in
SofaFSImpl. Any changes should be made in both places.
public void setStringValue(Feature feat, String val)
FeatureStructure
setStringValue
in interface FeatureStructure
setStringValue
in class org.apache.uima.cas.impl.FeatureStructureImpl
feat
- 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 FeatureStructure
setFeatureValue
in class org.apache.uima.cas.impl.FeatureStructureImpl
feat
- The feature whose value should be set.fs
- The value FS.public void setIntValue(Feature feat, Integer val)
public String getSofaMime()
SofaFS
getSofaMime
in interface SofaFS
public String getSofaURI()
SofaFS
getSofaURI
in interface SofaFS
public int getSofaRef()
SofaFS
getSofaRef
in interface SofaFS
public InputStream getSofaDataStream()
SofaFS
getSofaDataStream
in interface SofaFS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |