|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.openjpa.lib.meta.XMLMetaDataParser
org.apache.openjpa.persistence.PersistenceProductDerivation.ConfigurationParser
public static class PersistenceProductDerivation.ConfigurationParser
SAX handler capable of parsing an JPA persistence.xml file. Package-protected for testing.
Constructor Summary | |
---|---|
PersistenceProductDerivation.ConfigurationParser(Map map)
|
Method Summary | |
---|---|
protected void |
endElement(String name)
|
protected Object |
getSchemaSource()
|
void |
parse(File file)
|
void |
parse(URL url)
|
protected void |
reset()
|
protected boolean |
startElement(String name,
Attributes attrs)
|
Methods inherited from class org.apache.openjpa.lib.meta.XMLMetaDataParser |
---|
addComments, addResult, characters, clear, comment, currentClassLoader, currentComments, currentDepth, currentLocation, currentText, endCDATA, endDTD, endElement, endEntity, error, fatalError, finish, getClassLoader, getDocType, getException, getException, getException, getLexicalHandler, getLocation, getLog, getParseComments, getParseText, getResults, getSourceFile, getSourceIsSystemId, getSourceName, getSuffix, ignoreContent, isCaching, isValidating, parse, parse, parse, parse, parsed, parseNewResource, setCaching, setClassLoader, setDocumentLocator, setLexicalHandler, setLocation, setLog, setParseComments, setParseText, setSourceIsSystemId, setSuffix, setValidating, startCDATA, startDTD, startElement, startEntity |
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 PersistenceProductDerivation.ConfigurationParser(Map map)
Method Detail |
---|
public void parse(URL url) throws IOException
parse
in interface org.apache.openjpa.lib.meta.MetaDataParser
parse
in class org.apache.openjpa.lib.meta.XMLMetaDataParser
IOException
public void parse(File file) throws IOException
parse
in interface org.apache.openjpa.lib.meta.MetaDataParser
parse
in class org.apache.openjpa.lib.meta.XMLMetaDataParser
IOException
protected Object getSchemaSource()
getSchemaSource
in class org.apache.openjpa.lib.meta.XMLMetaDataParser
protected void reset()
reset
in class org.apache.openjpa.lib.meta.XMLMetaDataParser
protected boolean startElement(String name, Attributes attrs) throws SAXException
startElement
in class org.apache.openjpa.lib.meta.XMLMetaDataParser
SAXException
protected void endElement(String name) throws SAXException
endElement
in class org.apache.openjpa.lib.meta.XMLMetaDataParser
SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |