|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.adl.AbstractNode
An abstract Node
.
Constructor Summary | |
AbstractNode(String type)
|
Method Summary | |
Object |
astGetDecoration(String name)
Returns a decoration of this node. |
Map |
astGetDecorations()
Returns the decorations of this node. |
String |
astGetSource()
Returns the source of this node. |
String |
astGetType()
Returns the type of this node. |
void |
astSetDecoration(String name,
Object decoration)
Sets a decoration of this node. |
void |
astSetDecorations(Map decorations)
Sets the decorations of this node. |
void |
astSetSource(String source)
Sets the source of this node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.fractal.adl.Node |
astAddNode, astGetAttributes, astGetNodes, astGetNodeTypes, astNewInstance, astRemoveNode, astSetAttributes |
Constructor Detail |
public AbstractNode(String type)
Method Detail |
public String astGetType()
Node
astGetType
in interface Node
public String astGetSource()
Node
astGetSource
in interface Node
public void astSetSource(String source)
Node
astSetSource
in interface Node
source
- the source of this node (such as a file name).public Object astGetDecoration(String name)
Node
astGetDecoration
in interface Node
name
- the decoration's name.
null
if this node
does not have a decoration with the specified name.public Map astGetDecorations()
Node
astGetDecorations
in interface Node
public void astSetDecoration(String name, Object decoration)
Node
astSetDecoration
in interface Node
name
- the decoration's name.decoration
- a decoration.public void astSetDecorations(Map decorations)
Node
astSetDecorations
in interface Node
decorations
- the decorations of this node that must be changed
(decorations that are not defined in this argument are left unchanged).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |