public class UnmarshalStateStack
extends java.lang.Object
UnmarshalState
s are stored.Constructor | Description |
---|---|
UnmarshalStateStack() |
Modifier and Type | Method | 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()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com