Class DocumentXmiData


  • public class DocumentXmiData
    extends XmiData
    An extension of XmiData for full documents or the XMI base document. It holds the current xmi ID that may be given to the next annotation and the map of the document's sofa IDs to the sofa names (so new annotations can reference this original sofa, even if the sofa in their in-memory CAS has a different xmi ID).
    Author:
    faessler
    • Field Detail

      • serializedSofaXmiIdMap

        public String serializedSofaXmiIdMap
    • Constructor Detail

      • DocumentXmiData

        public DocumentXmiData​(String columnName,
                               de.julielab.jcore.ae.checkpoint.DocumentId docId,
                               Object storedData,
                               Map<Integer,​String> currentSofaXmiIdMap)
    • Method Detail

      • setSofaXmiIdMap

        public void setSofaXmiIdMap​(Map<Integer,​String> map)
        The map is expected in the form of mappings sofaXmiId=sofaID. Multiple mappings are separated using a pipe symbol.
        Parameters:
        map -