| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.factory.parsing.ParseState
public final class ParseState
Simple Stack-based structure for tracking the logical position during
 a parsing process. entries are added to the stack at
 each point during the parse phase in a reader-specific manner.
 
Calling toString() will render a tree-style view of the current logical
 position in the parse phase. This representation is intended for use in
 error messages.
| Nested Class Summary | |
|---|---|
| static interface | ParseState.EntryMarker interface for entries into the ParseState. | 
| Constructor Summary | |
|---|---|
| ParseState()Create a new ParseStatewith an emptyStack. | |
| Method Summary | |
|---|---|
|  ParseState.Entry | peek()Return the ParseState.Entrycurrently at the top of theStackornullif theStackis empty. | 
|  void | pop()Remove an ParseState.Entryfrom theStack. | 
|  void | push(ParseState.Entry entry)Add a new ParseState.Entryto theStack. | 
|  ParseState | snapshot()Create a new instance of ParseStatewhich is an independent snapshot
 of this instance. | 
|  String | toString()Returns a tree-style representation of the current ParseState. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ParseState()
ParseState with an empty Stack.
| Method Detail | 
|---|
public void push(ParseState.Entry entry)
ParseState.Entry to the Stack.
public void pop()
ParseState.Entry from the Stack.
public ParseState.Entry peek()
ParseState.Entry currently at the top of the Stack or
 null if the Stack is empty.
public ParseState snapshot()
ParseState which is an independent snapshot
 of this instance.
public String toString()
ParseState.
toString in class Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||