org.erowid.sperowider.htmlshredding
Class HTMLDocType

java.lang.Object
  extended byorg.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)

Constructor Summary
HTMLDocType(String docType)
           
 
Method Summary
 String getDocType()
           
 void write(Writer w)
          Writes the HTMLElement as HTML to the passed in Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDocType

public HTMLDocType(String docType)
Method Detail

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

spero logo small Sperowider is
© 2005 Erowid.org