com.unitesk.atp.tree.tool
Class Attribute

java.lang.Object
  extended by com.unitesk.atp.tool.PluginClass
      extended by com.unitesk.atp.tree.tool.Plugin
          extended by 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

Field Summary
 
Fields inherited from class com.unitesk.atp.tree.tool.Plugin
pm, tree
 
Fields inherited from class com.unitesk.atp.tool.PluginClass
mbox, name
 
Constructor Summary
Attribute()
           
 
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 com.unitesk.atp.tree.tool.Plugin
get, getCurrentTree, init, process, setCurrentTree
 
Methods inherited from class com.unitesk.atp.tool.PluginClass
getName, getPlugin, getPluginManager, getProperty, getProperty, getPropertyName, getRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.unitesk.atp.tool.Plugin
getVersion
 

Constructor Detail

Attribute

public Attribute()
Method Detail

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.