|
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.meta.CFMetaDataSerializer
|
+--com.solarmetric.rd.kodo.impl.jdbc.meta.XMLMappingInfoSerializer
Serializes ClassMappingInfos to XML matching the document
type definition defined by the XMLMappingInfoParser.
Serializers are not thread safe.
| Constructor Summary | |
XMLMappingInfoSerializer(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
Constructor. |
|
| Method Summary | |
void |
clear()
Reset the internal repository of mappings to be serialized. |
protected java.util.Collection |
getObjects()
Return the current set of objects set for serialization. |
protected java.lang.String |
getPackageName(java.lang.Object obj)
Return the package of the given object. |
com.solarmetric.rd.kodo.impl.jdbc.meta.MappingInfoRepository |
getRepository()
Return the internal mapping repository holding the mappings to be serialized. |
protected java.lang.String |
getRootElementName()
Return the name of the document root element. |
protected void |
serializeClass(java.lang.Object obj)
Serialize the given object representing metadata at the class level. |
void |
setRepository(com.solarmetric.rd.kodo.impl.jdbc.meta.MappingInfoRepository repos)
Set the mapping repository containing the mappings to be serialized. |
| Methods inherited from class com.solarmetric.rd.meta.CFMetaDataSerializer |
getClassName, getDeclaredPackage, serialize |
| 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 XMLMappingInfoSerializer(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
| Method Detail |
public com.solarmetric.rd.kodo.impl.jdbc.meta.MappingInfoRepository getRepository()
MappingInfoSerializer
getRepository in interface MappingInfoSerializerpublic void setRepository(com.solarmetric.rd.kodo.impl.jdbc.meta.MappingInfoRepository repos)
MappingInfoSerializer
setRepository in interface MappingInfoSerializerpublic void clear()
MappingInfoSerializer
clear in interface MappingInfoSerializerprotected java.util.Collection getObjects()
XMLMetaDataSerializer
getObjects in class XMLMetaDataSerializerprotected java.lang.String getRootElementName()
CFMetaDataSerializer
getRootElementName in class CFMetaDataSerializerprotected java.lang.String getPackageName(java.lang.Object obj)
CFMetaDataSerializer
getPackageName in class CFMetaDataSerializer
protected void serializeClass(java.lang.Object obj)
throws org.xml.sax.SAXException
CFMetaDataSerializer
serializeClass in class CFMetaDataSerializerorg.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 | |||||||||