|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.security.acl.expr.Expression com.cc.framework.security.acl.expr.ExpressionList
Produktionsregel:
expr_list : logical_or_expr | expr_list ';' logical_or_expr
Field Summary | |
private java.util.List |
expressions
Erstes Element der Liste |
private static long |
serialVersionUID
Serial Version UID |
Constructor Summary | |
ExpressionList(java.util.List expressions)
Konstruktor |
Method Summary | |
AccessToken |
evaluate(ExecutionEnvironment env)
Mit dieser Methode wird der Ausdruck ausgeführt |
java.util.Iterator |
iterator()
Liefert die Liste mit den einzelnen Elementen |
static Expression |
parse(TokenStream stream)
Die Methode parst den übergebenen Stream |
int |
size()
Liefert die Anzahl der Element der Liste |
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 |
private static final long serialVersionUID
private java.util.List expressions
Constructor Detail |
public ExpressionList(java.util.List expressions)
expressions
- Elemente der ListeMethod Detail |
public int size()
public java.util.Iterator iterator()
public AccessToken evaluate(ExecutionEnvironment env) throws ExecutionException
Expression
evaluate
in class Expression
env
- Umgebung
ExecutionException
- Wird geworfen wenn kein Wert ermittelt werden kannExpression.evaluate(com.cc.framework.security.acl.expr.ExecutionEnvironment)
public static Expression parse(TokenStream stream) throws SyntaxException
stream
- Token Stream
SyntaxException
- Wird im Falle einer falschen Sysntax geworfenpublic java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |