Package ru.bitel.bgbilling.server.util
Class XMLDatabaseSerializer
java.lang.Object
ru.bitel.bgbilling.server.util.XMLDatabaseSerializer
- Direct Known Subclasses:
XMLDatabaseElementSerializer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addItemsFromRS
(Connection con, String table, String keyColumn, String keyValue, String retColumn, boolean dateFilter, String date1, String date2, String joins) static int
insertElementToBase
(Element el, Connection con) protected void
startElement
(String table) protected void
protected void
writeAtrtibute
(String name, String val)
-
Field Details
-
BINARY_PREFIX
- See Also:
-
-
Constructor Details
-
XMLDatabaseSerializer
protected XMLDatabaseSerializer() -
XMLDatabaseSerializer
-
-
Method Details
-
addItemsFromRS
public List<String> addItemsFromRS(Connection con, String table, String keyColumn, String keyValue, String retColumn, boolean dateFilter, String date1, String date2, String joins) throws SQLException, XMLStreamException - Throws:
SQLException
XMLStreamException
-
addItemsFromRS
public void addItemsFromRS(String table, String retColumn, List<String> result, ResultSet rs) throws SQLException, XMLStreamException - Throws:
SQLException
XMLStreamException
-
writeAtrtibute
- Throws:
XMLStreamException
-
stopElement
- Throws:
XMLStreamException
-
startElement
- Throws:
XMLStreamException
-
insertElementToBase
- Throws:
SQLException
-