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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xml.sax.SAXException
              extended by org.apache.aries.jpa.container.parsing.impl.EarlyParserReturn
All Implemented Interfaces:
Serializable

public class EarlyParserReturn
extends SAXException

A convenience mechanism for finding the version of the schema to validate with

See Also:
Serialized Form

Constructor Summary
EarlyParserReturn(Schema s, String version)
           
 
Method Summary
 Schema getSchema()
           
 String getVersion()
           
 
Methods inherited from class org.xml.sax.SAXException
getCause, getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EarlyParserReturn

public EarlyParserReturn(Schema s,
                         String version)
Parameters:
s - The schema used
version - The version of the schema used
Method Detail

getSchema

public Schema getSchema()
Returns:
The schema that was used in the xml document

getVersion

public String getVersion()
Returns:
The version of the JPA schema used


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