| java.lang.Object org.xml.sax.helpers.DefaultHandler com.versant.core.metadata.parser.MetaDataParser
MetaDataParser | public class MetaDataParser extends DefaultHandler (Code) | | This produces a tree of JdoXXX objects representing the structure of a
JDO meta data file (.jdo). All of our vendor extensions are valdidated
(correct keys) as part of this process.
|
Method Summary | |
public void | characters(char ch, int start, int length) | public void | endElement(String uri, String localName, String name) Decide what to do with the element based on our current state and its
name. | public void | endElementImp(String uri, String localName, String name) Decide what to do with the element based on our current state and its
name. | public JdoRoot | getJdoRoot() Retrieve the last parsed JdoRoot. | public void | init(String name) Prepare this parser to receive SAX events. | public static boolean | isOurVendorName(String s) | public JdoRoot[] | parse(Collection jdoNames, ClassLoader loader) Load all the jdoNames as resources using loader and return the JdoRoot's. | public JdoRoot | parse(InputStream in, String name) Parse the supplied JDO meta data stream and create a JdoRoot tree. | public JdoRoot | parse(String filename) Parse the supplied JDO meta data file and create a JdoRoot tree. | public InputSource | resolveEntity(String publicId, String systemId) Resolve an external entity. | public void | startElement(String uri, String localName, String name, Attributes attr) Decide what to do with the element based on its name and our current
state. | public void | startElementImp(String uri, String localName, String name, Attributes attr) Decide what to do with the element based on its name and our current
state. |
VENDOR_NAME_JDOGENIE | final public static String VENDOR_NAME_JDOGENIE(Code) | | |
MetaDataParser | public MetaDataParser()(Code) | | |
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | |
endElementImp | public void endElementImp(String uri, String localName, String name) throws SAXException(Code) | | Decide what to do with the element based on our current state and its
name.
|
getJdoRoot | public JdoRoot getJdoRoot()(Code) | | Retrieve the last parsed JdoRoot.
|
isOurVendorName | public static boolean isOurVendorName(String s)(Code) | | Does s match our vendor name?
|
resolveEntity | public InputSource resolveEntity(String publicId, String systemId)(Code) | | Resolve an external entity.
We override this method so we don't go looking on the web for dtd's
|
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|