public abstract class XMLStorage extends Object implements Storage
| Modifier and Type | Field and Description |
|---|---|
protected DocumentBuilderFactory |
factory
Factory for document builders which we use to create XML documents.
|
| Modifier | Constructor and Description |
|---|---|
protected |
XMLStorage()
Creates a new
XMLStorage instance. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
saveDocument(Document doc)
Save a completed activity record.
|
void |
store(String id,
List incidents)
Store the activity.
|
protected DocumentBuilderFactory factory
protected XMLStorage()
XMLStorage instance.public void store(String id, List incidents)
Storageprotected abstract void saveDocument(Document doc)
doc - XML document containing the activity's incidents.IOException - if an error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.