public class DTDResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver, java.io.Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
WEB_SITE_DTD
Where the DTD is located on the web.
|
| 构造器和说明 |
|---|
DTDResolver()
constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
public static final java.lang.String WEB_SITE_DTD
public DTDResolver()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic 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 在接口中 org.xml.sax.EntityResolverpublicId - The public identifier of the external entitysystemId - The system identifier of the external entityInputSource for the
database.dtd file.java.io.IOException