|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.module.html.DTDMapper
public class DTDMapper
Class to map public DTD ID's to files which are included with this HTML module. This class is used by the XML module, due to the intermodulary nature of XHTML.
Constructor Summary | |
---|---|
DTDMapper()
|
Method Summary | |
---|---|
static java.lang.String |
getXHTMLVersion(java.lang.String publicID)
Returns the XHTML version associated with the DTD's public ID. |
static boolean |
isXHTMLDTD(java.lang.String publicID)
Returns TRUE if the parameter is the public ID of a known XHTML DTD. |
static org.xml.sax.InputSource |
publicIDToFile(java.lang.String publicID)
Attempts to convert a public ID to a matching DTD or Entity resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTDMapper()
Method Detail |
---|
public static org.xml.sax.InputSource publicIDToFile(java.lang.String publicID)
null
.
publicID
- The PUBLIC ID associated with a DTD or entity documentpublic static boolean isXHTMLDTD(java.lang.String publicID)
public static java.lang.String getXHTMLVersion(java.lang.String publicID)
null
if it isn't
a known XHTML public ID.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |