Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes | Package Functions

org::apache::uima::jcas::JCas Interface Reference

Inheritance diagram for org::apache::uima::jcas::JCas:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::jcas::JCas:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addFsToIndexes (FeatureStructure fs)
abstract void checkArrayBounds (int fsRef, int pos)
FeaturePath createFeaturePath ()
FeatureValuePath createFeatureValuePath (String featureValuePath) throws CASRuntimeException
< TextendsFeatureStructure >
FSIterator< T > 
createFilteredIterator (FSIterator< T > it, FSMatchConstraint cons)
SofaFS createSofa (SofaID sofaID, String mimeType)
abstract JCas createView (String sofaID) throws CASException
< TextendsFeatureStructure >
ListIterator< T > 
fs2listIterator (FSIterator< T > it)
AnnotationIndex< AnnotationgetAnnotationIndex ()
AnnotationIndex< AnnotationgetAnnotationIndex (Type type) throws CASRuntimeException
AnnotationIndex< AnnotationgetAnnotationIndex (int type) throws CASRuntimeException
abstract CAS getCas ()
abstract CASImpl getCasImpl ()
abstract Type getCasType (int i)
ConstraintFactory getConstraintFactory ()
abstract TOP getDocumentAnnotationFs ()
String getDocumentLanguage ()
String getDocumentText ()
abstract FloatArray getFloatArray0L ()
abstract FSArray getFSArray0L ()
abstract FSIndexRepository getFSIndexRepository ()
FSIndexRepository getIndexRepository ()
abstract IntegerArray getIntegerArray0L ()
abstract JCas getJCas (Sofa sofa) throws CASException
abstract TOP getJfsFromCaddr (int casAddr)
abstract JFSIndexRepository getJFSIndexRepository ()
abstract LowLevelCAS getLowLevelCas ()
abstract LowLevelIndexRepository getLowLevelIndexRepository ()
abstract Feature getRequiredFeature (Type t, String s) throws CASException
abstract Feature getRequiredFeatureDE (Type t, String s, String rangeName, boolean featOkTst)
abstract Type getRequiredType (String s) throws CASException
abstract Sofa getSofa (SofaID sofaID)
abstract Sofa getSofa ()
FeatureStructure getSofaDataArray ()
InputStream getSofaDataStream ()
String getSofaDataString ()
String getSofaDataURI ()
FSIterator< SofaFSgetSofaIterator ()
String getSofaMimeType ()
abstract StringArray getStringArray0L ()
abstract TOP_Type getType (TOP instance)
abstract TOP_Type getType (int i)
TypeSystem getTypeSystem () throws CASRuntimeException
JCas getView (SofaFS aSofa) throws CASException
JCas getView (String localViewName) throws CASException
Iterator< JCasgetViewIterator (String localViewNamePrefix) throws CASException
Iterator< JCasgetViewIterator () throws CASException
String getViewName ()
abstract void processInit ()
abstract void putJfsFromCaddr (int casAddr, FeatureStructure fs)
void removeFsFromIndexes (FeatureStructure fs)
void reset () throws CASAdminException
void setDocumentLanguage (String languageCode) throws CASRuntimeException
void setDocumentText (String text) throws CASRuntimeException
void setSofaDataArray (FeatureStructure array, String mime) throws CASRuntimeException
void setSofaDataString (String text, String mimetype) throws CASRuntimeException
void setSofaDataURI (String uri, String mime) throws CASRuntimeException
int size ()
void throwFeatMissing (String feat, String type)

Static Public Attributes

static final int INVALID_FEATURE_CODE = -1

Package Functions

void release ()

Detailed Description

Java Cover Classes based Object-oriented CAS (Common Analysis System) API.

A JCas object provides the starting point for working with the CAS using Java Cover Classes for each type, generated by the utility JCasGen.

This interface extends the CAS Interface, providing all the same functionality, plus some specific to the JCas.

It supports the creation of new instances of CAS types, using the normal Java "new" operator.

You can create a JCas object from a CAS object by calling the getJCas() method on the CAS object.

Definition at line 72 of file JCas.java.


The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index