|
iiitAccessServer 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--java.util.Stack | +--de.iiit.access.server.plugins.parser.ParserStack
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.
Field Summary |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
ParserStack()
Creates a new instance of ParserStack |
Method Summary | |
Object |
pushArgument(Object item)
Pushes a new item onto the stack. |
Methods inherited from class java.util.Stack |
empty, peek, pop, push, search |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.iiit.access.server.api.ParserStackIf |
peek, pop, push |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public ParserStack()
Method Detail |
public Object pushArgument(Object item) throws ParserException
pushArgument
in interface ParserStackIf
item
- The new item
ParserException
- if the new item is already on the stack
|
iiitAccessServer 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |