public class UnDumper extends DumpParser
DumpParser
that parses an XML data specification created by the Dumper
class
and creates the corresponding database state.Dumper
![]() |
![]() |
conn
Constructor and Description |
---|
UnDumper(AppContext conn) |
UnDumper(AppContext conn,
boolean map_ids) |
Modifier and Type | Method and Description |
---|---|
int |
processRecord(int parse_id,
Repository.Record rec)
handle a
Repository.Record once we have parsed it |
void |
processSpecification(java.lang.String table_name,
TableSpecification spec)
handle a
TableSpecification once we have parsed it. |
boolean |
skipSpecification(java.lang.String table_name)
should we skip parsing the following
TableSpecification . |
characters, endDocument, endElement, endPrefixMapping, getIdMode, getPreserveIds, ignorableWhitespace, processingInstruction, setDocumentLocator, setPreserveIds, skippedEntity, skipRecord, startDocument, startElement, startPrefixMapping
getContext, getLogger, resetLogger
public UnDumper(AppContext conn)
public UnDumper(AppContext conn, boolean map_ids)
public int processRecord(int parse_id, Repository.Record rec) throws ConsistencyError, DataFault
DumpParser
Repository.Record
once we have parsed itprocessRecord
in class DumpParser
rec
- parse_id
- int id parsed from file.ConsistencyError
DataFault
public void processSpecification(java.lang.String table_name, TableSpecification spec) throws DataFault
DumpParser
TableSpecification
once we have parsed it.processSpecification
in class DumpParser
DataFault
public boolean skipSpecification(java.lang.String table_name)
DumpParser
TableSpecification
.skipSpecification
in class DumpParser