Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.security
Class PostfixExpression

java.lang.Object
  extended by org.nuxeo.ecm.webengine.security.PostfixExpression
All Implemented Interfaces:
Iterable<PostfixExpression.Token>

public class PostfixExpression
extends Object
implements Iterable<PostfixExpression.Token>

Author:
Bogdan Stefanescu

Nested Class Summary
static class PostfixExpression.OpStack
           
static class PostfixExpression.Token
           
static interface PostfixExpression.Visitor
           
 
Field Summary
static int AND
           
static int ARG
           
static int LPARA
           
static int NOT
           
static int OR
           
static int PARA
           
static int RPARA
           
 
Constructor Summary
PostfixExpression(String expr)
           
 
Method Summary
 PostfixExpression.Token[] getExpression()
           
 Iterator<PostfixExpression.Token> iterator()
           
 String toString()
           
 Object visit(PostfixExpression.Visitor visitor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ARG

public static final int ARG
See Also:
Constant Field Values

NOT

public static final int NOT
See Also:
Constant Field Values

AND

public static final int AND
See Also:
Constant Field Values

OR

public static final int OR
See Also:
Constant Field Values

PARA

public static final int PARA
See Also:
Constant Field Values

LPARA

public static final int LPARA
See Also:
Constant Field Values

RPARA

public static final int RPARA
See Also:
Constant Field Values
Constructor Detail

PostfixExpression

public PostfixExpression(String expr)
                  throws ParseException
Throws:
ParseException
Method Detail

getExpression

public PostfixExpression.Token[] getExpression()

iterator

public Iterator<PostfixExpression.Token> iterator()
Specified by:
iterator in interface Iterable<PostfixExpression.Token>

visit

public Object visit(PostfixExpression.Visitor visitor)

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.