org.jaffa.persistence.engines.jdbcengine.configservice
Class MappingParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jaffa.persistence.engines.jdbcengine.configservice.MappingParser
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class MappingParser
- extends DefaultHandler
This is the handler for the mapping files. It parses the file and creates an appropriate ClassMetaData object.
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingParser
public MappingParser()
startElement
public void startElement(String uri,
String sName,
String qName,
Attributes atts)
- Receive notification of the start of an element.
- Parameters:
uri - The uri.sName - The local name (without prefix), or the empty string if Namespace processing is not being performed.qName - The qualified name (with prefix), or the empty string if qualified names are not available.atts - The specified or defaulted attributes
getMetaData
public ClassMetaData getMetaData()
- Returns a ClassMetaData object corresponding to a mapping file.
- Returns:
- a ClassMetaData object corresponding to a mapping file.
Copyright © 2002-2004 JAFFA Project.