Class OutOfTypeSystemData

java.lang.Object
org.apache.uima.cas.impl.OutOfTypeSystemData

public class OutOfTypeSystemData extends Object
This class is used by the XCASDeserializer to store feature structures that do not fit into the type system of the CAS it is deserializing into. This data can then be passed to the XCASSerializer, which will include it in the XCAS it produces. In this way consumers of an XCAS can safely ignore out-of-typesystem data without destroying it.
  • Field Details

    • fsList

      List<FSData> fsList
      List of FSData objects for out-of-typesystem FSs.
    • extraFeatureValues

      Map<Integer,List<String[]>> extraFeatureValues
      Map from Integer (CAS address) to List of String arrays holding feature names and values for out-of-typesystem features on in-typesystem FSs.
    • arrayElements

      Map<Integer,List<ArrayElement>> arrayElements
      Map from Integer (CAS address of an FSArray) to List of ArrayElement objects, each of which holds an array index and value (as a string).
    • idMap

      Map<String,String> idMap
      Map used during re-serialization. Stores mapping from out-of-typesystem FS IDs to the actual IDs used in the generated XCAS.
  • Constructor Details

    • OutOfTypeSystemData

      public OutOfTypeSystemData()
  • Method Details

    • toString

      public String toString()
      For debugging purposes only.
      Overrides:
      toString in class Object