org.tm4j.vtl.struts
Class TologHelperTool

java.lang.Object
  extended byorg.tm4j.vtl.struts.TologHelperTool
All Implemented Interfaces:
org.apache.velocity.tools.view.tools.ViewTool

public class TologHelperTool
extends java.lang.Object
implements org.apache.velocity.tools.view.tools.ViewTool

Author:
Kal Ahmed (kal@techquila.com)

Constructor Summary
TologHelperTool()
           
 
Method Summary
 org.tm4j.tolog.TologResultsSet evaluate(java.lang.String query)
           
 org.tm4j.tolog.TologResultsSet evaluate(org.tm4j.topicmap.TopicMap tm, java.lang.String query)
           
 org.tm4j.tolog.TologResultsSet evaluate(org.tm4j.topicmap.TopicMap tm, java.lang.String rules, java.lang.String query)
           
 void init(java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TologHelperTool

public TologHelperTool()
Method Detail

init

public void init(java.lang.Object arg)
Specified by:
init in interface org.apache.velocity.tools.view.tools.ViewTool

evaluate

public org.tm4j.tolog.TologResultsSet evaluate(java.lang.String query)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

evaluate

public org.tm4j.tolog.TologResultsSet evaluate(org.tm4j.topicmap.TopicMap tm,
                                               java.lang.String query)
                                        throws org.tm4j.tolog.TologParserException,
                                               org.tm4j.tolog.TologEvaluationException,
                                               org.tm4j.tolog.parser.ParseException,
                                               org.tm4j.topicmap.index.IndexManagerException,
                                               org.tm4j.topicmap.index.IndexException
Throws:
org.tm4j.tolog.TologParserException
org.tm4j.tolog.TologEvaluationException
org.tm4j.tolog.parser.ParseException
org.tm4j.topicmap.index.IndexManagerException
org.tm4j.topicmap.index.IndexException

evaluate

public org.tm4j.tolog.TologResultsSet evaluate(org.tm4j.topicmap.TopicMap tm,
                                               java.lang.String rules,
                                               java.lang.String query)
                                        throws org.tm4j.tolog.TologParserException,
                                               org.tm4j.tolog.TologEvaluationException,
                                               org.tm4j.tolog.parser.ParseException,
                                               org.tm4j.topicmap.index.IndexManagerException,
                                               org.tm4j.topicmap.index.IndexException
Throws:
org.tm4j.tolog.TologParserException
org.tm4j.tolog.TologEvaluationException
org.tm4j.tolog.parser.ParseException
org.tm4j.topicmap.index.IndexManagerException
org.tm4j.topicmap.index.IndexException