org.erowid.sperowider.htmlshredding
Class HTMLDocType
java.lang.Object
org.erowid.sperowider.htmlshredding.HTMLDocType
- All Implemented Interfaces:
- HTMLElement
- public class HTMLDocType
- extends Object
- implements HTMLElement
Represents a first, and fairly crude, whack at the doctype tag.
- Version:
- $Header $
- Author:
- Stu Statman (gurustu@att.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLDocType
public HTMLDocType(String docType)
getDocType
public String getDocType()
write
public void write(Writer w)
throws IOException
- Description copied from interface:
HTMLElement
- Writes the HTMLElement as HTML to the passed in Writer.
- Specified by:
write
in interface HTMLElement
- Parameters:
w
-
- Throws:
IOException