|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnu.xom.samples.DatabaseConverter
public class DatabaseConverter
Demonstrates the building of a structured XML document, from a relational database using JDBC. A different version of this example was originally developed for Chapter 4 of Processing XML with Java.
Constructor Summary | |
---|---|
DatabaseConverter(java.lang.String jdbcURL)
|
Method Summary | |
---|---|
nu.xom.Document |
extract(java.lang.String selectQuery)
|
static java.lang.String |
getSchemaType(int type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseConverter(java.lang.String jdbcURL) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public nu.xom.Document extract(java.lang.String selectQuery) throws java.io.IOException
java.io.IOException
public static java.lang.String getSchemaType(int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |