org.apache.directory.shared.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

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Method Summary
 int getState()
          Get the current grammar state
 IStates getStates()
           
 int getTransition()
          Get the transition
 void setState(int state)
          Set the new current state
 void setTransition(int transition)
          Update the transition from a state to another
 

Method Detail

getState

int getState()
Get the current grammar state

Returns:
Returns the current grammar state

setState

void setState(int state)
Set the new current state

Parameters:
state - The new state

getTransition

int getTransition()
Get the transition

Returns:
Returns the transition from the previous state to the new state

setTransition

void setTransition(int transition)
Update the transition from a state to another

Parameters:
transition - The transition to set

getStates

IStates getStates()
Returns:
Returns the states.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.