APIdia Launch Partner
Top Description Methods
com.sun.source.doctree

public Interface DocTypeTree

extends DocTree
Known Direct Implementers
com.sun.tools.javac.tree.DCTree.DCDocType

A tree node for a doctype declaration.
   <!doctype text>
For HTML5 documents, the correct form is <!doctype html>.
Since
10

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

text
getText
()

Returns the text of the doctype declaration.

Inherited from com.sun.source.doctree.DocTree:
acceptgetKind

Method Detail

getTextback to summary
public String getText()

Returns the text of the doctype declaration.

Returns:String

text