Class XmlDataReader
java.lang.Object
org.jumpmind.symmetric.io.data.reader.AbstractDataReader
org.jumpmind.symmetric.io.data.reader.XmlDataReader
- All Implemented Interfaces:
IDataReader
,IDataResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Batch
protected String
protected DataContext
protected int
protected org.xmlpull.v1.XmlPullParser
protected Reader
protected String
protected String
protected Statistics
protected Table
Fields inherited from class org.jumpmind.symmetric.io.data.reader.AbstractDataReader
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
nextData()
void
open
(DataContext context) protected void
readNext()
void
setCatalog
(String catalog) void
Methods inherited from class org.jumpmind.symmetric.io.data.reader.AbstractDataReader
logDebugAndCountBytes, toBatch, toReader, toReader
-
Field Details
-
reader
-
context
-
batch
-
table
-
sourceNodeId
-
lineNumber
protected int lineNumber -
parser
protected org.xmlpull.v1.XmlPullParser parser -
statistics
-
next
-
catalog
-
schema
-
-
Constructor Details
-
XmlDataReader
-
XmlDataReader
-
-
Method Details
-
open
- Specified by:
open
in interfaceIDataResource
-
readNext
protected void readNext() -
nextBatch
- Specified by:
nextBatch
in interfaceIDataReader
-
nextTable
- Specified by:
nextTable
in interfaceIDataReader
-
nextData
- Specified by:
nextData
in interfaceIDataReader
-
close
public void close()- Specified by:
close
in interfaceIDataResource
-
getStatistics
- Specified by:
getStatistics
in interfaceIDataResource
-
getCatalog
-
setCatalog
-
getSchema
-
setSchema
-