public class UnmarshalStateStack extends Object
UnmarshalState
s are stored.Constructor and Description |
---|
UnmarshalStateStack() |
Modifier and Type | Method and Description |
---|---|
UnmarshalState |
getLastState()
Peeks the stack for the top
UnmarshalState , without removing
it. |
boolean |
hasAnotherParentState()
Checks if there is a parent state on the stack.
|
boolean |
isEmpty()
Checks if the stack is empty.
|
void |
pushState(UnmarshalState state)
Pushes a
UnmarshalState instance onto the stack- |
UnmarshalState |
removeLastState()
Pops the top
UnmarshalState off the stack. |
UnmarshalState |
removeParentState()
Removes a parent state from the stack.
|
void |
resetParentState() |
public UnmarshalState getLastState()
UnmarshalState
, without removing
it.UnmarshalState
, without removing it.public UnmarshalState removeLastState()
UnmarshalState
off the stack.UnmarshalState
instance, removing it from the stack as well.public boolean isEmpty()
public void pushState(UnmarshalState state)
UnmarshalState
instance onto the stack-state
- The UnmarshalState
instance to be pushed onto the stack.public boolean hasAnotherParentState()
public UnmarshalState removeParentState()
public void resetParentState()
Copyright © 2014. All rights reserved.