Examples of OutOfTypeSystemData


Examples of org.apache.uima.cas.impl.OutOfTypeSystemData

              ((CASImpl)aCAS).enableReset(true);
            }
          }
          return;
        }
        OutOfTypeSystemData otsd = getInProcessCache().getOutOfTypeSystemData(aCasReferenceId);
        MessageContext mContext = getInProcessCache().getMessageAccessorByReference(aCasReferenceId);
        sequence++;
        newCasReferenceId = getInProcessCache().register( casProduced, mContext, otsd);
        CacheEntry newEntry = getInProcessCache().getCacheEntryForCAS(newCasReferenceId);
/*
 
View Full Code Here

Examples of org.apache.uima.cas.impl.OutOfTypeSystemData

    xcasDeser.setDocumentTypeName(this.getDocumentTextTypeName());
    // xcasDeser.setDocumentTextFeautre(this.getDocumentTextFeatureName()); NOT NEEDED

    // to be lenient, install OutOfTypeSystemData object to collect data that doesn't
    // fit into target CAS's type system.
    OutOfTypeSystemData ootsd = null;
    if (aLenient) {
      ootsd = new OutOfTypeSystemData();
    }
    generator.setContentHandler(xcasDeser.getXCASHandler(aContainer, ootsd));
    try {
      generator.generateXCas(aData);
    } catch (Exception e) {
View Full Code Here

Examples of org.apache.uima.cas.impl.OutOfTypeSystemData

  /**
   * @see org.apache.vinci.transport.TransportableFactory#makeTransportable()
   */
  public synchronized Transportable makeTransportable() {
    return new CASTransportable(mCasPool, new OutOfTypeSystemData(), null, false);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.