|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.meta.XMLMetaDataSerializer
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.XMLSchemaSerializer
Serializes Schemas to XML matching the document
type definition defined by the XMLSchemaParser. The serializer
actually works at the fine-grained table level to allow you to split
schemas among multiple files.
Serializers are not thread safe.
| Constructor Summary | |
XMLSchemaSerializer(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
Constructor. |
|
| Method Summary | |
void |
addTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Add the given table to the set of tables that will be serialized. |
void |
addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Add the given schema's tables to the set of tables that will be serialized. |
void |
addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
Add all the tables in the given group to the set of tables that will be serialized. |
void |
clear()
Clear the set of tables to be serialized. |
protected java.util.Collection |
getObjects()
Return the current set of objects set for serialization. |
com.solarmetric.rd.kodo.impl.jdbc.schema.Table[] |
getTables()
Return the set of tables that will be serialized. |
boolean |
removeTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Remove the given table from the set to be serialized. |
boolean |
removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Remove the given schema's tables from the set to be serialized. |
boolean |
removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
Remove all schemas in the given group from the set to be serialized. |
protected void |
serialize(java.util.Collection tables)
Serialize the given set of objects to the given handler. |
| Methods inherited from class com.solarmetric.rd.meta.XMLMetaDataSerializer |
addAttribute, endElement, getLog, reset, serialize, serialize, serialize, serialize, serialize, setLog, startElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.solarmetric.rd.meta.MetaDataSerializer |
getLog, serialize, serialize, serialize, setLog |
| Constructor Detail |
public XMLSchemaSerializer(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
| Method Detail |
public com.solarmetric.rd.kodo.impl.jdbc.schema.Table[] getTables()
SchemaSerializer
getTables in interface SchemaSerializerpublic void addTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
SchemaSerializer
addTable in interface SchemaSerializerpublic void addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
SchemaSerializer
addTables in interface SchemaSerializerpublic void addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
SchemaSerializer
addTables in interface SchemaSerializerpublic boolean removeTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
SchemaSerializer
removeTable in interface SchemaSerializerpublic boolean removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
SchemaSerializer
removeTables in interface SchemaSerializerpublic boolean removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
SchemaSerializer
removeTables in interface SchemaSerializerpublic void clear()
SchemaSerializer
clear in interface SchemaSerializerprotected java.util.Collection getObjects()
XMLMetaDataSerializer
getObjects in class XMLMetaDataSerializer
protected void serialize(java.util.Collection tables)
throws org.xml.sax.SAXException
XMLMetaDataSerializer
serialize in class XMLMetaDataSerializerorg.xml.sax.SAXException
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||