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

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

      final Map<TOP,List<Pair<String,Object>>> extraFeatureValues
      Map from Feature Structure to List of String arrays holding feature names and values for out-of-typesystem features on in-typesystem FSs.
    • arrayElements

      final Map<TOP,List<ArrayElement>> arrayElements
      Map from FSArray instances to List of ArrayElement objects, each of which holds an array index and value (as a string). key: FSArray instance represented as an xmiId
    • idMap

      final 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