com.unitesk.atp.tree.tool
Class Attribute
java.lang.Object
com.unitesk.atp.tool.PluginClass
com.unitesk.atp.tree.tool.Plugin
com.unitesk.atp.tree.tool.Attribute
- All Implemented Interfaces:
- Plugin
public abstract class Attribute
- extends Plugin
Computed node attribute.
- Version:
- $Id: Attribute.java,v 1.1 2004/10/09 06:40:12 all-x Exp $
- Author:
- Alexey Demakov
Fields inherited from class com.unitesk.atp.tree.tool.Plugin |
pm, tree |
Method Summary |
abstract Object |
get(Tree tree,
Node node)
Inheritors must override this method to implement attribute computation. |
String |
getKind()
Returns the type of plugin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Attribute
public Attribute()
getKind
public final String getKind()
- Returns the type of plugin.
get
public abstract Object get(Tree tree,
Node node)
- Inheritors must override this method to implement attribute computation.
setCurrentTree( tree )
must be called
before processing.
- Parameters:
tree
- The tree under processing.node
- The tree node whose attribute is computed.
Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.