|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
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. |
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 ); } }
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |