org.htmlparser.tags

Class DoctypeTag

public class DoctypeTag extends TagNode

The HTML Document Declaration Tag can identify <!DOCTYPE> tags.
Constructor Summary
DoctypeTag()
Create a new !doctype tag.
Method Summary
String[]getIds()
Return the set of names handled by this tag.
StringtoString()
Return a string representation of the contents of this !

Constructor Detail

DoctypeTag

public DoctypeTag()
Create a new !doctype tag.

Method Detail

getIds

public String[] getIds()
Return the set of names handled by this tag.

Returns: The names to be matched that create tags of this type.

toString

public String toString()
Return a string representation of the contents of this !DOCTYPE tag suitable for debugging.

Returns: The contents of the document declaration tag as a string.

HTML Parser is an open source library released under LGPL. SourceForge.net