public abstract class AbstractTransformationNode extends Object implements TransformationNode
Constructor and Description |
---|
AbstractTransformationNode() |
Modifier and Type | Method and Description |
---|---|
Object |
getAnnotation(String name)
Get the annotation with the given name.
|
boolean |
hasAnnotations()
Determines if the node has any annotations.
|
void |
reset()
Clear all temporary transformation information in the node, i.e all
annotations.
|
void |
setAnnotation(String name,
Object annotation)
Set an annotation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
public void reset()
TransformationNode
reset
in interface TransformationNode
TransformationNode.reset()
public Object getAnnotation(String name)
TransformationNode
getAnnotation
in interface TransformationNode
name
- the annotation namenull
if there is noneTransformationNode.getAnnotation(String)
public void setAnnotation(String name, Object annotation)
TransformationNode
setAnnotation
in interface TransformationNode
name
- the annotation nameannotation
- the annotation valueTransformationNode.setAnnotation(String, Object)
public boolean hasAnnotations()
TransformationNode
hasAnnotations
in interface TransformationNode
TransformationNode.hasAnnotations()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a