|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.hibernate2.HibernateEntityResolver
public class HibernateEntityResolver
A class to resolve external entity definitions for j2ee artifacts. Based on the J2EEEntityResolver from the J2EE plugin
Field Summary | |
---|---|
static java.lang.String[] |
HIBERNATE_DTDS
list of j2ee dtds that are being made available |
static java.lang.String[] |
HIBERNATE_RESOURCES
|
Constructor Summary | |
---|---|
HibernateEntityResolver()
Creates a new instance of EntityResolver |
Method Summary | |
---|---|
protected java.util.Map |
getIdToResource()
Getter for publicId to resource name map. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
resolve the entity given by the provided Ids |
protected void |
setIdToResource(java.util.Map idToResource)
Setter for publicId to resource name map. |
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[] HIBERNATE_DTDS
public static final java.lang.String[] HIBERNATE_RESOURCES
Constructor Detail |
---|
public HibernateEntityResolver()
Method Detail |
---|
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- the public id of the entitysystemId
- the 'system location' (typically a URL) of the entity
input source
for retrieval of the entity
java.io.IOException
- when an I/O error occurs retrieving the entity
org.xml.sax.SAXException
- if there are any problemsprotected java.util.Map getIdToResource()
protected void setIdToResource(java.util.Map idToResource)
idToResource
- New value of property idToResource.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |