Class CASTransportable

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.uima.adapter.vinci.CASTransportable
All Implemented Interfaces:
Transportable, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class CASTransportable extends DefaultHandler implements Transportable
  • Field Details

    • myCasPool

      private CasPool myCasPool
    • myCas

      private CAS myCas
    • mybuf

      private byte[] mybuf
    • outOfTypeSystemData

      private OutOfTypeSystemData outOfTypeSystemData
    • incomingCommand

      private boolean incomingCommand
    • incomingError

      private boolean incomingError
    • incomingExtraData

      private boolean incomingExtraData
    • lastqName

      private String lastqName
    • command

      private String command
    • error

      private String error
    • ready

      private int ready
    • handler

      private ContentHandler handler
    • extraDataFrame

      private VinciFrame extraDataFrame
    • uimaContext

      public UimaContext uimaContext
    • includeDocText

      public boolean includeDocText
    • ignoreResponse

      public boolean ignoreResponse
  • Constructor Details

    • CASTransportable

      public CASTransportable(CasPool casPool, OutOfTypeSystemData outOfTypeSystemData, UimaContext uimaContext, boolean includeDocText)
      This constructor is used on the service side - a CAS Pool reference is provided. We don't check a CAS out of the pool until we get a request.
      Parameters:
      casPool - the cas pool
      outOfTypeSystemData - the out of type system data
      uimaContext - the uima context
      includeDocText - the include doc text
    • CASTransportable

      public CASTransportable(CAS cas, OutOfTypeSystemData outOfTypeSystemData, UimaContext uimaContext, boolean includeDocText)
      This constructor is used on the client side, where we have a dedicated CAS instance for the request.
      Parameters:
      cas - the cas
      outOfTypeSystemData - the out of type system data
      uimaContext - the uima context
      includeDocText - the include doc text
  • Method Details