org.ogf.graap.wsag.interpreter.expr
Class TermExpression

java.lang.Object
  extended by org.ogf.graap.wsag.interpreter.expr.TermExpression
All Implemented Interfaces:
IExpression

public class TermExpression
extends Object
implements IExpression

TermExpression

Author:
Oliver Waeldrich

Constructor Summary
TermExpression(TermType expression)
           
 
Method Summary
 TermType[] interpret(InterpreterContext context)
          interprets an expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermExpression

public TermExpression(TermType expression)
Parameters:
expression - a term compositor representing a term expression
Method Detail

interpret

public TermType[] interpret(InterpreterContext context)
                     throws InterpreterException
interprets an expression

Specified by:
interpret in interface IExpression
Parameters:
context - the interpreter context
Returns:
the terms in the expression
Throws:
InterpreterException - indicates an error while processing the context
See Also:
AbstractExpression.interpret(TermType[], InterpreterContext)


Copyright © 2008-2012. All Rights Reserved.