java.lang.Object | |
↳ | org.springframework.beans.factory.parsing.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 Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ParseState.Entry | Marker interface for entries into the ParseState . |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
ParseState with an empty Stack. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the
ParseState.Entry currently at the top of the Stack or
null if the Stack is empty. | |||||||||||
Remove an
ParseState.Entry from the Stack. | |||||||||||
Add a new
ParseState.Entry to the Stack. | |||||||||||
Create a new instance of
ParseState which is an independent snapshot
of this instance. | |||||||||||
Returns a tree-style representation of the current
ParseState . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Return the ParseState.Entry
currently at the top of the Stack or
null
if the Stack is empty.
Add a new ParseState.Entry
to the Stack.
Create a new instance of ParseState
which is an independent snapshot
of this instance.