public class SiGMLResolver extends java.lang.Object implements CleanerEntityResolver
Constructor and Description |
---|
SiGMLResolver()
Constructs a resolver for the SiGML DTDs that uses the
standard local copies.
|
SiGMLResolver(java.lang.String hmldtd,
java.lang.String sigmldtd)
Constructs a resolver for the SiGML DTDs that uses the
specified file names, if present, for the HML and SiGML DTDs;
in either case a
null argument implies use of the standard
DTD file name. |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolves the SAX entity with the given public and system IDs:
if the given system ID is the URI of one of the SiGML DTDs, then
a SAX input source for this resolver's version of that DTD will
be returned, but in all other cases this method returns
null . |
public SiGMLResolver()
public SiGMLResolver(java.lang.String hmldtd, java.lang.String sigmldtd)
null
argument implies use of the standard
DTD file name.public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
null
.resolveEntity
in interface org.xml.sax.EntityResolver
resolveEntity
in interface CleanerEntityResolver
org.xml.sax.SAXException