public class DocumentXmiData extends XmiData
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).| Modifier and Type | Field and Description |
|---|---|
Integer |
newXmiId |
String |
serializedSofaXmiIdMap |
| Constructor and Description |
|---|
DocumentXmiData(DocumentId docId,
Object storedData,
Integer newXmiId,
Map<Integer,String> currentSofaXmiIdMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
setSofaXmiIdMap(Map<Integer,String> map)
The map is expected in the form of mappings sofaXmiId=sofaID.
|
Copyright © 2018 JULIE Lab, Germany. All rights reserved.