|
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
|
+--org.xml.sax.helpers.DefaultHandler
|
+--com.solarmetric.rd.meta.XMLMetaDataParser
|
+--com.solarmetric.rd.meta.CFMetaDataParser
|
+--com.solarmetric.rd.kodo.meta.JDOMetaDataParser
Custom SAX parser used by the system to quickly parse JDO metadata files.
| Constructor Summary | |
JDOMetaDataParser(com.solarmetric.rd.kodo.conf.JDOConfiguration conf)
Constructor. |
|
| Method Summary | |
protected void |
endClass(java.lang.String className)
Override this method marking the end of a declared <class>. |
protected void |
endClassElement(java.lang.String name)
Override this method marking the end of an element within a declared <class>. |
protected void |
endExtension()
|
protected void |
endField()
|
protected void |
finish()
Override this method to finish up after a parse; this is only called if no errors are encountered during parsing. |
protected java.io.Reader |
getDocType()
Override this method to return any DOCTYPE declaration
that should be dynamically included in xml documents that will be
validated. |
protected java.lang.String |
getExtension()
Override this method to return the extension used for metadata resources. |
java.lang.ClassLoader |
getPMClassLoader()
Return the persistence manager class loader to pass on to parsed metadata instances. |
com.solarmetric.rd.kodo.meta.JDOMetaDataRepository |
getRepository()
Returns the repository for this parser. |
protected void |
reset()
Override this method to clear any state and ready the parser for a new document. |
void |
setPMClassLoader(java.lang.ClassLoader loader)
Set the persistence manager class loader to pass on to parsed metadata instances. |
void |
setRepository(com.solarmetric.rd.kodo.meta.JDOMetaDataRepository repos)
Set the metadata repository for this parser. |
protected void |
startArray(org.xml.sax.Attributes attrs)
|
protected void |
startClass(java.lang.String className,
org.xml.sax.Attributes attrs)
Override this method marking the start of a declared <class>. |
protected void |
startClassElement(java.lang.String name,
org.xml.sax.Attributes attrs)
Override this method marking the start of an element within a declared <class>. |
protected void |
startCollection(org.xml.sax.Attributes attrs)
|
protected void |
startExtension(org.xml.sax.Attributes attrs)
|
protected void |
startField(org.xml.sax.Attributes attrs)
|
protected void |
startMap(org.xml.sax.Attributes attrs)
|
| Methods inherited from class com.solarmetric.rd.meta.CFMetaDataParser |
classForName, endElement, getDeclaredClass, getDeclaredPackage, startElement |
| Methods inherited from class com.solarmetric.rd.meta.XMLMetaDataParser |
addResult, characters, clear, currentClassLoader, endElement, error, fatalError, findMetaData, getClassLoader, getCurrentLocation, getLocation, getLog, getResults, getSourceFile, getSourceName, getText, isValidating, parse, parse, parse, parse, setClassLoader, setDocumentLocator, setLocation, setLog, setValidating, startElement, throwException, throwException |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDOMetaDataParser(com.solarmetric.rd.kodo.conf.JDOConfiguration conf)
| Method Detail |
public com.solarmetric.rd.kodo.meta.JDOMetaDataRepository getRepository()
public void setRepository(com.solarmetric.rd.kodo.meta.JDOMetaDataRepository repos)
public java.lang.ClassLoader getPMClassLoader()
public void setPMClassLoader(java.lang.ClassLoader loader)
protected void finish()
XMLMetaDataParsersuper.finish () to resolve superclass state.
finish in class XMLMetaDataParserprotected java.lang.String getExtension()
XMLMetaDataParser
getExtension in class XMLMetaDataParserprotected void reset()
CFMetaDataParsersuper.reset () to clear superclass state.
reset in class CFMetaDataParser
protected java.io.Reader getDocType()
throws java.io.IOException
XMLMetaDataParserDOCTYPE declaration
that should be dynamically included in xml documents that will be
validated. Returns null by default.
getDocType in class XMLMetaDataParserjava.io.IOException
protected void startClass(java.lang.String className,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
CFMetaDataParser<class>. The given class name will not include
the package.
startClass in class CFMetaDataParserorg.xml.sax.SAXExceptionprotected void endClass(java.lang.String className)
CFMetaDataParser<class>. The given class name will not include
the package.
endClass in class CFMetaDataParser
protected void startClassElement(java.lang.String name,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
CFMetaDataParser<class>.
startClassElement in class CFMetaDataParserorg.xml.sax.SAXException
protected void endClassElement(java.lang.String name)
throws org.xml.sax.SAXException
CFMetaDataParser<class>.
endClassElement in class CFMetaDataParserorg.xml.sax.SAXException
protected void startField(org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void endField()
protected void startArray(org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void startCollection(org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected void startMap(org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void startExtension(org.xml.sax.Attributes attrs)
protected void endExtension()
|
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 | |||||||||