Package com.pd4ml.dom
Class DocumentType
- java.lang.Object
-
- com.pd4ml.dom.Node
-
- com.pd4ml.dom.DocumentType
-
public class DocumentType extends Node
The<!DOCTYPE>of a document. It selects quirks or standards mode when the document is parsed.- Since:
- v4.2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()The name, usuallyhtml.java.lang.StringgetPublicId()java.lang.StringgetSystemId()voidsetTextContent(java.lang.String text)A doctype has no text content.-
Methods inherited from class com.pd4ml.dom.Node
appendChild, cloneNode, contains, equals, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, hashCode, insertBefore, remove, removeChild, replaceChild, toHtml, toString
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
The name, usuallyhtml.
-
getPublicId
public java.lang.String getPublicId()
-
getSystemId
public java.lang.String getSystemId()
-
setTextContent
public void setTextContent(java.lang.String text)
A doctype has no text content.- Overrides:
setTextContentin classNode
-
-