|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jostraca.Block
Container for parsed blocks of template source.
| Nested Class Summary | |
static class |
Block.Type
|
| Field Summary | |
static Block.Type |
TYPE_script
|
static Block.Type |
TYPE_text
|
| Constructor Summary | |
Block(Block.Type pType,
java.lang.String pContent)
Construct a block of parsed text. |
|
| Method Summary | |
boolean |
equals(Block pBlock)
|
boolean |
equals(java.lang.Object pObject)
|
java.lang.String |
getContent()
Get Content. |
Block.Type |
getType()
Get Type. |
boolean |
isScript()
True if block type is script. |
boolean |
isText()
True if block type is text. |
java.lang.String |
toString()
Description of Block. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Block.Type TYPE_text
public static final Block.Type TYPE_script
| Constructor Detail |
public Block(Block.Type pType,
java.lang.String pContent)
pType - (not validated) The type of the block.pContent - (not validated) The content of the block.| Method Detail |
public java.lang.String getContent()
public Block.Type getType()
public boolean isText()
public boolean isScript()
public java.lang.String toString()
public boolean equals(java.lang.Object pObject)
public boolean equals(Block pBlock)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||