- All Superinterfaces:
DocTree
public interface DocTypeTree
extends DocTree
A tree node for a
doctype
declaration.
<!doctype text>
For HTML5 documents, the correct form is
<!doctype html>
.
- Since:
- 10
-
-
Method Summary
Returns the text of the doctype declaration.
-
Method Details
-
getText
Returns the text of the doctype declaration.
- Returns:
- text