public class DocumentTypeUtil extends Object
| Constructor and Description |
|---|
DocumentTypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getOriginalID(DocumentType docType) |
static boolean |
isOriginalHTML5(DocumentType docType) |
static boolean |
isOriginalXHTML(DocumentType docType) |
public static String getOriginalID(DocumentType docType)
docType - DocumentType. If docType is null,
then returns empty string.public static boolean isOriginalXHTML(DocumentType docType)
docType - public static boolean isOriginalHTML5(DocumentType docType)
docType -