de.goerntkai.scot.app.document
Class CommentElement

java.lang.Object
  extended byde.goerntkai.scot.app.document.SCoTElement
      extended byde.goerntkai.scot.app.document.CommentElement
All Implemented Interfaces:
ISCoTComponent

public class CommentElement
extends SCoTElement

Represents a comment element like <!-- comment -->.

Author:
Kai Görnt

Constructor Summary
CommentElement(java.lang.String line)
          Inherited from the SCoTElement.
 
Method Summary
 org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
          Returns the HTML representation of the element.
 
Methods inherited from class de.goerntkai.scot.app.document.SCoTElement
getParts, getTagName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentElement

public CommentElement(java.lang.String line)
               throws SCoTException
Inherited from the SCoTElement. Passes the line through to the superclass.

Parameters:
line - the line as found in the SCoT document
Throws:
SCoTException
Method Detail

toHTML

public org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
Returns the HTML representation of the element. Uses the parent document for creating the node.

Specified by:
toHTML in interface ISCoTComponent
Specified by:
toHTML in class SCoTElement
Parameters:
doc - the parent document
Returns:
the HTML representation
See Also:
SCoTElement.toHTML(org.w3c.dom.Document)


© 2004 by Kai Görnt