Interface Grammar<C extends Asn1Container>

Type Parameters:
C - The container type
All Known Implementing Classes:
AbstractGrammar

public interface Grammar<C extends Asn1Container>
The interface which expose common behavior of a Grammar implementer.
Author:
Apache Directory Project
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The flag used to tell if a given state must have a follow up in the same PDU or not
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    executeAction(C asn1Container)
    This method, when called, execute an action on the current data stored in the container.
    Get the grammar name
    void
    Set the grammar's name
  • Method Details

    • executeAction

      void executeAction(C asn1Container) throws org.apache.directory.api.asn1.DecoderException
      This method, when called, execute an action on the current data stored in the container.
      Parameters:
      asn1Container - Store the data being processed.
      Throws:
      org.apache.directory.api.asn1.DecoderException - Thrown when an unrecoverable error occurs.
    • getName

      String getName()
      Get the grammar name
      Returns:
      Return the grammar's name
    • setName

      void setName(String name)
      Set the grammar's name
      Parameters:
      name - The grammar name