Class AbstractCas_ImplBase

java.lang.Object
org.apache.uima.cas.AbstractCas_ImplBase
All Implemented Interfaces:
AbstractCas
Direct Known Subclasses:
CASImpl, JCasImpl

public abstract class AbstractCas_ImplBase extends Object implements AbstractCas
Base class from which CAS implementations should extend.
  • Constructor Details

    • AbstractCas_ImplBase

      public AbstractCas_ImplBase()
  • Method Details

    • release

      public void release()
      Default implementation that returns this CAS to its CasManager by calling CasOwner.releaseCas(AbstractCas).
      Specified by:
      release in interface AbstractCas
    • 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 - -