Package de.julielab.jcore.consumer.xmi
Class XmiBufferItem
- java.lang.Object
-
- de.julielab.jcore.consumer.xmi.XmiBufferItem
-
public class XmiBufferItem extends Object
This class primarily holds the complete XMI data of one CAS. Additionally, it contains the JeDIS sofa mapping, current maximum XMI ID and possibly more meta information needed to create the annotation modules.
-
-
Constructor Summary
Constructors Constructor Description XmiBufferItem(byte[] xmiData, de.julielab.jcore.ae.checkpoint.DocumentId docId, Map<String,Integer> sofaIdMap, int nextXmiId, org.apache.uima.cas.TypeSystem typeSystem)XmiBufferItem(de.julielab.xml.XmiSplitterResult splitterResult, de.julielab.jcore.ae.checkpoint.DocumentId docId, Map<String,Integer> baseDocumentSofaIdMap, int nextXmiId, org.apache.uima.cas.TypeSystem typeSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.julielab.jcore.ae.checkpoint.DocumentIdgetDocId()intgetNextXmiId()Map<String,Integer>getSofaIdMap()de.julielab.xml.XmiSplitterResultgetSplitterResult()org.apache.uima.cas.TypeSystemgetTypeSystem()byte[]getXmiData()booleanisProcessedForBinaryMappings()voidsetProcessedForBinaryMappings(boolean processedForBinaryMappings)
-
-
-
Method Detail
-
getSplitterResult
public de.julielab.xml.XmiSplitterResult getSplitterResult()
-
isProcessedForBinaryMappings
public boolean isProcessedForBinaryMappings()
-
getTypeSystem
public org.apache.uima.cas.TypeSystem getTypeSystem()
-
getDocId
public de.julielab.jcore.ae.checkpoint.DocumentId getDocId()
-
getXmiData
public byte[] getXmiData()
-
getNextXmiId
public int getNextXmiId()
-
setProcessedForBinaryMappings
public void setProcessedForBinaryMappings(boolean processedForBinaryMappings)
-
-