public class XMLDatabaseSerializer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BINARY_PREFIX |
Modifier | Constructor and Description |
---|---|
protected |
XMLDatabaseSerializer() |
|
XMLDatabaseSerializer(javax.xml.stream.XMLStreamWriter whereAdd) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
addItemsFromRS(java.sql.Connection con,
java.lang.String table,
java.lang.String keyColumn,
java.lang.String keyValue,
java.lang.String retColumn,
boolean dateFilter,
java.lang.String date1,
java.lang.String date2,
java.lang.String joins) |
static java.util.List<java.lang.String> |
addItemsFromRS(java.sql.Connection con,
javax.xml.stream.XMLStreamWriter whereAdd,
java.lang.String table,
java.lang.String keyColumn,
java.lang.String keyValue,
java.lang.String retColumn,
boolean dateFilter,
java.lang.String date1,
java.lang.String date2) |
static java.util.List<java.lang.String> |
addItemsFromRS(java.sql.Connection con,
javax.xml.stream.XMLStreamWriter whereAdd,
java.lang.String table,
java.lang.String keyColumn,
java.lang.String keyValue,
java.lang.String retColumn,
boolean dateFilter,
java.lang.String date1,
java.lang.String date2,
java.lang.String joins) |
void |
addItemsFromRS(java.lang.String table,
java.lang.String retColumn,
java.util.List<java.lang.String> result,
java.sql.ResultSet rs) |
static int |
insertElementToBase(org.w3c.dom.Element el,
java.sql.Connection con) |
protected void |
startElement(java.lang.String table) |
protected void |
stopElement() |
protected void |
writeAtrtibute(java.lang.String name,
java.lang.String val) |
public static final java.lang.String BINARY_PREFIX
protected XMLDatabaseSerializer()
public XMLDatabaseSerializer(javax.xml.stream.XMLStreamWriter whereAdd)
public static java.util.List<java.lang.String> addItemsFromRS(java.sql.Connection con, javax.xml.stream.XMLStreamWriter whereAdd, java.lang.String table, java.lang.String keyColumn, java.lang.String keyValue, java.lang.String retColumn, boolean dateFilter, java.lang.String date1, java.lang.String date2) throws java.sql.SQLException, javax.xml.stream.XMLStreamException
java.sql.SQLException
javax.xml.stream.XMLStreamException
public static java.util.List<java.lang.String> addItemsFromRS(java.sql.Connection con, javax.xml.stream.XMLStreamWriter whereAdd, java.lang.String table, java.lang.String keyColumn, java.lang.String keyValue, java.lang.String retColumn, boolean dateFilter, java.lang.String date1, java.lang.String date2, java.lang.String joins) throws java.sql.SQLException, javax.xml.stream.XMLStreamException
java.sql.SQLException
javax.xml.stream.XMLStreamException
public java.util.List<java.lang.String> addItemsFromRS(java.sql.Connection con, java.lang.String table, java.lang.String keyColumn, java.lang.String keyValue, java.lang.String retColumn, boolean dateFilter, java.lang.String date1, java.lang.String date2, java.lang.String joins) throws java.sql.SQLException, javax.xml.stream.XMLStreamException
java.sql.SQLException
javax.xml.stream.XMLStreamException
public void addItemsFromRS(java.lang.String table, java.lang.String retColumn, java.util.List<java.lang.String> result, java.sql.ResultSet rs) throws java.sql.SQLException, javax.xml.stream.XMLStreamException
java.sql.SQLException
javax.xml.stream.XMLStreamException
protected void writeAtrtibute(java.lang.String name, java.lang.String val) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void stopElement() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void startElement(java.lang.String table) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static int insertElementToBase(org.w3c.dom.Element el, java.sql.Connection con) throws java.sql.SQLException
java.sql.SQLException