com.cc.framework.security.acl.expr
Class LogicalOrExpression

java.lang.Object
  extended bycom.cc.framework.security.acl.expr.Expression
      extended bycom.cc.framework.security.acl.expr.LogicalOrExpression
All Implemented Interfaces:
java.io.Serializable

public class LogicalOrExpression
extends Expression

Produktionsregel:

 logical_or_expr
	: logical_xor_expr
	| logical_or_expr OR_OP logical_xor_expr
 

Version:
$Revision: 1.3 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  Expression operandA
          Der erste Opperand
private  Expression operandB
          Der zweite Opperand
private static long serialVersionUID
          Serial Version UID
 
Constructor Summary
LogicalOrExpression(Expression operandA, Expression operandB)
          Konstruktor
 
Method Summary
 AccessToken evaluate(ExecutionEnvironment env)
          Mit dieser Methode wird der Ausdruck ausgeführt
static Expression parse(TokenStream stream)
          Die Methode parst den übergebenen Stream
 java.lang.String toString()
           
 
Methods inherited from class com.cc.framework.security.acl.expr.Expression
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

operandA

private Expression operandA
Der erste Opperand


operandB

private Expression operandB
Der zweite Opperand

Constructor Detail

LogicalOrExpression

public LogicalOrExpression(Expression operandA,
                           Expression operandB)
Konstruktor

Parameters:
operandA - erster Opperand
operandB - zweiter Opperand
Method Detail

evaluate

public AccessToken evaluate(ExecutionEnvironment env)
                     throws ExecutionException
Description copied from class: Expression
Mit dieser Methode wird der Ausdruck ausgeführt

Specified by:
evaluate in class Expression
Parameters:
env - Umgebung
Returns:
Liefert einen Wert zurück
Throws:
ExecutionException - Wird geworfen wenn kein Wert ermittelt werden kann
See Also:
Expression.evaluate(com.cc.framework.security.acl.expr.ExecutionEnvironment)

parse

public static Expression parse(TokenStream stream)
                        throws SyntaxException
Die Methode parst den übergebenen Stream

Parameters:
stream - Token Stream
Returns:
Ausdruck
Throws:
SyntaxException - Wird im Falle einer falschen Sysntax geworfen

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.