org.apache.aries.jpa.container.parsing.impl
Class SchemaLocatingHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.aries.jpa.container.parsing.impl.SchemaLocatingHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class SchemaLocatingHandler
extends DefaultHandler

This parser provides a quick mechanism for determining the JPA schema level, and throws an EarlyParserReturn with the Schema to validate with


Constructor Summary
SchemaLocatingHandler()
           
 
Method Summary
 void startElement(String uri, String localName, String name, Attributes attributes)
           
 
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
 

Constructor Detail

SchemaLocatingHandler

public SchemaLocatingHandler()
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String name,
                         Attributes attributes)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
Throws:
SAXException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.