Package org.xembly
Interface Directive.Stack
-
- Enclosing interface:
- Directive
public static interface Directive.Stack
Stack.- Since:
- 0.16
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive.Cursor
pop()
Pop cursor (runtime exception if stack is empty).void
push(Directive.Cursor cursor)
Push cursor (runtime exception if stack is full).
-
-
-
Method Detail
-
push
void push(Directive.Cursor cursor)
Push cursor (runtime exception if stack is full).- Parameters:
cursor
- Cursor to push
-
pop
Directive.Cursor pop() throws ImpossibleModificationException
Pop cursor (runtime exception if stack is empty).- Returns:
- Cursor recently added
- Throws:
ImpossibleModificationException
- If fails
-
-