|
iiitAccessServer 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This stack is used to pass the expressions and its subexpression between the parser and the resolver. Each time the result of the current expression is also an expression it is pushed onto the stack and the parser is called recursively. When the result of the current expression is a set the expression is pulled from the stack. Everytime a new element is pushed onto it, the stack reviews its content. When the same expression is already there it throws a ParserException to show that it recognized circular references inside the expression.
Method Summary | |
Object |
peek()
Looks at the object at the top of this stack without removing it from the stack. |
Object |
pop()
Removes the object at the top of this stack and returns that object as the value of this function. |
Object |
push(Object item)
Pushes an item onto the top of this stack. |
Object |
pushArgument(Object item)
Pushes a new item onto the stack. |
Method Detail |
public Object pushArgument(Object item) throws ParserException
item
- The new item
ParserException
- if the new item is already on the stackpublic Object peek()
EmptyStackException
- if this stack is empty.public Object pop()
EmptyStackException
- if this stack is empty.public Object push(Object item)
item
- the item to be pushed onto this stack.
|
iiitAccessServer 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |