|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.persistence.xml.JPersistenceUnitInfoLoader.PersistenceEntityResolver
public static class JPersistenceUnitInfoLoader.PersistenceEntityResolver
Entity resolver allowing to find schema within the classloader.
Field Summary | |
---|---|
static java.lang.String |
PERSISTENCE_SCHEMA_10
Persistence Schema. |
private java.net.URL |
url
Local url of the schema. |
Constructor Summary | |
---|---|
JPersistenceUnitInfoLoader.PersistenceEntityResolver()
Constructor. |
Method Summary | |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
The Parser will call this method before opening any external entity except the top-level document entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PERSISTENCE_SCHEMA_10
private java.net.URL url
Constructor Detail |
---|
public JPersistenceUnitInfoLoader.PersistenceEntityResolver()
Method Detail |
---|
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- The public identifier of the external entity being
referenced, or null if none was supplied.systemId
- The system identifier of the external entity being
referenced.
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another
exception.
java.io.IOException
- A Java-specific IO exception, possibly the result
of creating a new InputStream or Reader for the InputSource.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |