de.goerntkai.scot.app.document
Class AnchorElement

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

public class AnchorElement
extends SCoTElement

Represents an anchor element (<a>).

Author:
Kai Görnt

Constructor Summary
AnchorElement(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

AnchorElement

public AnchorElement(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), ISCoTComponent.toHTML(org.w3c.dom.Document)


© 2004 by Kai Görnt