Package org.apache.directory.api.dsmlv2
Interface Container
-
- All Known Implementing Classes:
Dsmlv2Container
public interface Container
This interface represents a container that can be used by the parser to store parsed information- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Enum<Dsmlv2StatesEnum>
getState()
Gets the current grammar stateEnum<Dsmlv2StatesEnum>[]
getStates()
Enum<Dsmlv2StatesEnum>
getTransition()
Gets the transitionvoid
setState(Enum<Dsmlv2StatesEnum> state)
Sets the new current statevoid
setTransition(Enum<Dsmlv2StatesEnum> transition)
Updates the transition from a state to another
-
-
-
Method Detail
-
getState
Enum<Dsmlv2StatesEnum> getState()
Gets the current grammar state- Returns:
- Returns the current grammar state
-
setState
void setState(Enum<Dsmlv2StatesEnum> state)
Sets the new current state- Parameters:
state
- The new state
-
getTransition
Enum<Dsmlv2StatesEnum> getTransition()
Gets the transition- Returns:
- Returns the transition from the previous state to the new state
-
setTransition
void setTransition(Enum<Dsmlv2StatesEnum> transition)
Updates the transition from a state to another- Parameters:
transition
- The transition to set
-
getStates
Enum<Dsmlv2StatesEnum>[] getStates()
- Returns:
- Returns the states.
-
-