|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.scot.app.document.SCoTBlock
de.goerntkai.scot.app.document.TablerowBlock
Represents a line forming a tablerow.
Constructor Summary | |
TablerowBlock(java.lang.String line)
This constructor parses the given line. |
Method Summary | |
void |
add(java.lang.String line)
Adds another component from a line string. |
boolean |
isMeaningEqual(java.lang.String line)
Returns true when the meaning of the line is the same as
the meaning of the block and false if not.
|
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.SCoTBlock |
add, getAttributes, getComponents, getConfiguration, getLastComponent, replaceLastComponentBy, setAttributes |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TablerowBlock(java.lang.String line) throws SCoTException
<line> ::=
[<meaning><content>][\t<meaning><content>]*
.
line
- the line as found in a SCoT document
SCoTException
Method Detail |
public void add(java.lang.String line) throws SCoTException
TablerowBlock
may only contain the one line that is given to the constructor.
add
in class SCoTBlock
line
- the definition of the new component
SCoTException
SCoTBlock.add(java.lang.String)
public org.w3c.dom.Node toHTML(org.w3c.dom.Document doc)
toHTML
in interface ISCoTComponent
toHTML
in class SCoTBlock
doc
- the parent document
ISCoTComponent.toHTML(org.w3c.dom.Document)
public boolean isMeaningEqual(java.lang.String line)
true
when the meaning of the line is the same as
the meaning of the block and false
if not.
A TablerowBlock
can not hold more than one
SCoTElement
, therefore the meaning is never equal.
isMeaningEqual
in class SCoTBlock
line
- the line to be checked
SCoTBlock.isMeaningEqual(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |