|
|||||||||||
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.commons.logging.Log |
log
Logging class from commons.logging |
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)
An implementation of the SAX EntityResolver
interface to be 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 |
public static final java.lang.String WEB_SITE_DTD
private org.xml.sax.InputSource databaseDTD
database.dtd
.
private static org.apache.commons.logging.Log log
Constructor Detail |
public DTDResolver() throws org.xml.sax.SAXException
Method Detail |
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws java.io.IOException
EntityResolver
interface to be called by the XML parser.
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- The public identifier of the external entitysystemId
- The system identifier of the external entity
InputSource
for the
database.dtd
file.
java.io.IOException
private org.xml.sax.InputSource getInputSource(java.lang.String urlString) throws java.io.IOException
urlString
- The URL of the input source.
InputSource
for the URL.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |