|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBlock
Block of information on context stack.
| Method Summary | |
|---|---|
Map<String,Object> |
getMap()
Mapping of elements related to the block. |
nu.xom.Node |
getNode()
Returns the specification node object related to the block. |
IPlugin |
getPlugin()
The plugin related to the block. |
boolean |
hasChildren()
Indicates if the block node has children. |
boolean |
hasMap()
Indicates if block has a mapping or not. |
boolean |
hasNode()
Indicates if block has been created form a specification or not. |
boolean |
hasPlugin()
Indicates if block has a plugin or not. |
boolean |
isChanged()
Indicates if a given block has changed. |
boolean |
isValid()
A valid block has node ( hasNode) or plugin (
hasPlugin). |
void |
setChanged(boolean changed)
Sets the changed status. |
void |
setMap(Map<String,Object> map)
Sets the block mapping of object. |
void |
setNode(nu.xom.Node node)
Change block node. |
void |
setPlugin(IPlugin plugin)
Sets the block plugin. |
| Method Detail |
|---|
boolean isValid()
hasNode) or plugin (
hasPlugin). They cannot be both 'null'.
boolean hasChildren()
boolean isChanged()
void setChanged(boolean changed)
changed - The new status.boolean hasNode()
nu.xom.Node getNode()
void setNode(nu.xom.Node node)
node - The new node.boolean hasPlugin()
IPlugin getPlugin()
void setPlugin(IPlugin plugin)
plugin - The new plugin.boolean hasMap()
Map<String,Object> getMap()
void setMap(Map<String,Object> map)
map - The new mapping.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||