Class 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 Detail

      • XmiBufferItem

        public 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)
      • XmiBufferItem

        public XmiBufferItem​(byte[] xmiData,
                             de.julielab.jcore.ae.checkpoint.DocumentId docId,
                             Map<String,​Integer> sofaIdMap,
                             int nextXmiId,
                             org.apache.uima.cas.TypeSystem typeSystem)
    • 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)