public class DefaultParserContext extends Object implements ParserContext
| Constructor and Description |
|---|
DefaultParserContext() |
| Modifier and Type | Method and Description |
|---|---|
Object |
peek()
This method accesses the current component
from the context and returns it to the caller.
|
Object |
pop()
This method removes a component from the context
and returns it to the caller.
|
void |
push(Object obj)
This method adds a component to the parser
context.
|
public Object pop()
pop in interface ParserContextpublic Object peek()
peek in interface ParserContextpublic void push(Object obj)
push in interface ParserContextobj - The new componentCopyright © 2014. All Rights Reserved.