Package com.unitesk.atp.tree.tool

This package provides special version of extendable tool for formal text processing tools.

See:
          Description

Interface Summary
PluginManager Plugin manager interface.
 

Class Summary
Action Action over tree.
Attribute Computed node attribute.
DumpAction  
Plugin Plug-in is a tool functionality extention module.
PluginInfoMessage  
PluginManagerClass Default implementation of plugin manager interface.
Tool The framework of an application that processes Attributed Tree (AT).
ToolInfoMessage  
Tree Attributed Tree with plugin manager.
 

Package com.unitesk.atp.tree.tool Description

This package provides special version of extendable tool for formal text processing tools.

Plugin manager besides of base functionality:

Besides this, Base class for formal text processing tools defined command line format.

Using this base class, tool can be created in this way:

    public class Main extends Tool
    {
        /*
         * Initialize name and version of tool.
         */
        protected void initName()
        {
            name = "MyTool";
            version = "1.0";
        }

        // run tool
        public static void main( String[] args )
        {
            new Main().run( args );
        }

        public void parse( File file )
        {
            // create internal tree of input file
            setTree( tree );
        }
    }
  



Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.