|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.engine.database.transform.DTDResolver
A resolver to get the database.dtd file for the XML parser from the jar.
Field Summary | |
private org.xml.sax.InputSource |
databaseDTD
InputSource for database.dtd . |
private static org.apache.log4j.Logger |
log
Logging |
private static java.lang.String |
WEB_SITE_DTD
Where the DTD is located on the web. |
Constructor Summary | |
DTDResolver()
constructor |
Method Summary | |
private org.xml.sax.InputSource |
getInputSource(java.lang.String urlString)
Retrieves a XML input source for the specified URL. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
called by the XML parser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String WEB_SITE_DTD
private org.xml.sax.InputSource databaseDTD
database.dtd
.
private static org.apache.log4j.Logger log
Constructor Detail |
public DTDResolver()
Method Detail |
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- The public identifier of the external entitysystemId
- The system identifier of the external entity
private org.xml.sax.InputSource getInputSource(java.lang.String urlString)
urlString
- The URL of the input source.
InputSource
for the URL.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |