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, startPrefixMappinggetContext, getLogger, resetLoggerpublic UnDumper(AppContext conn)
public UnDumper(AppContext conn, boolean map_ids)
public int processRecord(int parse_id,
Repository.Record rec)
throws ConsistencyError,
DataFault
DumpParserRepository.Record once we have parsed itprocessRecord in class DumpParserrec - parse_id - int id parsed from file.ConsistencyErrorDataFaultpublic void processSpecification(java.lang.String table_name,
TableSpecification spec)
throws DataFault
DumpParserTableSpecification once we have parsed it.processSpecification in class DumpParserDataFaultpublic boolean skipSpecification(java.lang.String table_name)
DumpParserTableSpecification.skipSpecification in class DumpParser