public static class PersistenceProductDerivation.ConfigurationParser extends XMLMetaDataParser
_extendedNamespace, _openjpaNamespace| Constructor and Description |
|---|
ConfigurationParser(Map map) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
endElement(String name)
Override this method marking the end of some element.
|
protected Object |
getSchemaSource()
Implement to return the XML schema source for the document.
|
void |
parse(File file)
Parse the given file, which may be a directory, in which case it
will be scanned recursively for metadata files.
|
void |
parse(URL url)
Parse the given resource.
|
protected void |
reset()
Override this method to clear any state and ready the parser for
a new document.
|
protected boolean |
startElement(String name,
Attributes attrs)
Override this method marking the start of some element.
|
addComments, addResult, characters, clear, clearDeferredMetaData, comment, currentClassLoader, currentComments, currentDepth, currentLocation, currentText, endCDATA, endDTD, endElement, endEntity, error, fatalError, finish, getClassLoader, getDocType, getException, getException, getException, getLexicalHandler, getLocation, getLog, getOverrideContextClassloader, getParseComments, getParseText, getResults, getSourceFile, getSourceIsSystemId, getSourceName, getSuffix, ignoreContent, isCaching, isParsing, isValidating, parse, parse, parse, parse, parsed, parseNewResource, setCaching, setClassLoader, setDocumentLocator, setLexicalHandler, setLocation, setLog, setOverrideContextClassloader, setParseComments, setParseText, setParsing, setSourceIsSystemId, setSuffix, setValidating, startCDATA, startDTD, startElement, startEntityendDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic ConfigurationParser(Map map)
public void parse(URL url) throws IOException
MetaDataParserparse in interface MetaDataParserparse in class XMLMetaDataParserIOExceptionpublic void parse(File file) throws IOException
MetaDataParserparse in interface MetaDataParserparse in class XMLMetaDataParserIOExceptionprotected Object getSchemaSource()
XMLMetaDataParserString pointing to schema URI.InputStream containing schema contents.InputSource containing schema contents.File containing schema contents.getSchemaSource in class XMLMetaDataParserprotected void reset()
XMLMetaDataParsersuper.reset() to clear superclass state.reset in class XMLMetaDataParserprotected boolean startElement(String name, Attributes attrs) throws SAXException
XMLMetaDataParserstartElement in class XMLMetaDataParserSAXExceptionprotected void endElement(String name) throws SAXException
XMLMetaDataParserendElement in class XMLMetaDataParserSAXExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.