Package org.apache.uima.cas.impl
Class OutOfTypeSystemData
- java.lang.Object
-
- org.apache.uima.cas.impl.OutOfTypeSystemData
-
public class OutOfTypeSystemData extends java.lang.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 Summary
Fields Modifier and Type Field Description (package private) java.util.Map<TOP,java.util.List<ArrayElement>>
arrayElements
Map from FSArray instances to List of ArrayElement objects, each of which holds an array index and value (as a string).(package private) java.util.Map<TOP,java.util.List<Pair<java.lang.String,java.lang.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.(package private) java.util.List<FSData>
fsList
List of FSData objects for out-of-typesystem FSs.(package private) java.util.Map<java.lang.String,java.lang.String>
idMap
Map used during re-serialization.
-
Constructor Summary
Constructors Constructor Description OutOfTypeSystemData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
For debugging purposes only.
-
-
-
Field Detail
-
fsList
final java.util.List<FSData> fsList
List of FSData objects for out-of-typesystem FSs.
-
extraFeatureValues
final java.util.Map<TOP,java.util.List<Pair<java.lang.String,java.lang.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 java.util.Map<TOP,java.util.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 java.util.Map<java.lang.String,java.lang.String> idMap
Map used during re-serialization. Stores mapping from out-of-typesystem FS IDs to the actual IDs used in the generated XCAS.
-
-