public class DTDMapper
extends java.lang.Object
Constructor and Description |
---|
DTDMapper() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.