|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.scot.app.document.SCoTElement
A SCoTElement
is content which HTML representation is a
blockbuilding tag. SCoTElement
consists usually of one line in
the SCoT document. A class which inherits from SCoTElement
must
implement NewElement(String line)
which calls
super(line)
.
Constructor Summary | |
SCoTElement(java.lang.String line)
This constructor interpretes and parses the given line. |
Method Summary | |
java.util.ArrayList |
getParts()
Returns the parts, this element consists of. |
java.lang.String |
getTagName()
Returns the name of the HTML tag, this element gets, if there is any. |
abstract org.w3c.dom.Node |
toHTML(org.w3c.dom.Document doc)
Returns the HTML representation of the element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SCoTElement(java.lang.String line) throws SCoTException
<line> ::=
<meaning><content>
.
line
- the line as found in a SCoT document
SCoTException
Method Detail |
public java.util.ArrayList getParts()
public java.lang.String getTagName()
public abstract org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
toHTML
in interface ISCoTComponent
doc
- the parent document
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |