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 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