de.goerntkai.scot.app.document
Class SimpleCommando

java.lang.Object
  extended byde.goerntkai.scot.app.document.SCoTCommando
      extended byde.goerntkai.scot.app.document.SimpleCommando
All Implemented Interfaces:
ISCoTComponent

public class SimpleCommando
extends SCoTCommando

Represents an usual commando like <img>.

Version:
$Id: $
Author:
Kai Görnt

Constructor Summary
SimpleCommando(java.lang.String commando)
          Inherited from the SCoTCommando.
 
Method Summary
 org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
          Returns the HTML representation of the commando.
 
Methods inherited from class de.goerntkai.scot.app.document.SCoTCommando
getCommandoAsHTML, getParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCommando

public SimpleCommando(java.lang.String commando)

Inherited from the SCoTCommando. Passes the commando through to the superclass.

Parameters:
commando - the commando string as found in the SCoT document
Method Detail

toHTML

public org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)

Returns the HTML representation of the commando. Uses the parent document for creating the node.

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


© 2004 by Kai Görnt