|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigmlgen.SiGMLResolver
public class SiGMLResolver
A SAX entity resolver for the standard SiGML DTDs, that is, for the SiGML DTD, the HamNoSysML (HML) DTD, and the SiGML-stream DTD. By default, these all resolve to local copies of the standard DTDs, but alternative local versions may be specified at construction time.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiGMLResolver()
public SiGMLResolver(java.lang.String hmldtd, java.lang.String sigmldtd)
null
argument implies use of the standard
DTD file name.
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |