Package org.apache.uima.cas
Class AbstractCas_ImplBase
- java.lang.Object
-
- org.apache.uima.cas.AbstractCas_ImplBase
-
- All Implemented Interfaces:
AbstractCas
public abstract class AbstractCas_ImplBase extends java.lang.Object implements AbstractCas
Base class from which CAS implementations should extend.
-
-
Constructor Summary
Constructors Constructor Description AbstractCas_ImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrelease()Default implementation that returns this CAS to its CasManager by callingCasOwner.releaseCas(AbstractCas).voidsetOwner(CasOwner aCasOwner)Provides this CAS with a handle to the CASOwner that owns it.
-
-
-
Field Detail
-
mOwner
private CasOwner mOwner
-
-
Method Detail
-
release
public void release()
Default implementation that returns this CAS to its CasManager by callingCasOwner.releaseCas(AbstractCas).- Specified by:
releasein interfaceAbstractCas
-
setOwner
public void setOwner(CasOwner aCasOwner)
Provides this CAS with a handle to the CASOwner that owns it. This is called by the framework when a CAS instance is created. This handle is used to implement the release() method by returning the CAS to its CasOwner.- Parameters:
aCasOwner- -
-
-