Interface Grammar<C extends Asn1Container>
-
- Type Parameters:
C- The container type
- All Known Implementing Classes:
AbstractGrammar,AdDirSyncRequestGrammar,AdDirSyncResponseGrammar,AdPolicyHintsGrammar,CancelRequestGrammar,CertGenerationRequestGrammar,ControlsGrammar,EndTransactionRequestGrammar,EndTransactionResponseGrammar,EntryChangeGrammar,GracefulDisconnectResponseGrammar,GracefulShutdownRequestGrammar,LdapMessageGrammar,PagedResultsGrammar,PasswordModifyRequestGrammar,PasswordModifyResponseGrammar,PasswordPolicyResponseGrammar,PersistentSearchGrammar,SortRequestGrammar,SortResponseGrammar,StoredProcedureRequestGrammar,SubentriesGrammar,SyncDoneValueGrammar,SyncInfoValueGrammar,SyncRequestValueGrammar,SyncStateValueGrammar,VirtualListViewRequestGrammar,VirtualListViewResponseGrammar
public interface Grammar<C extends Asn1Container>The interface which expose common behavior of a Grammar implementer.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecuteAction(C asn1Container)This method, when called, execute an action on the current data stored in the container.StringgetName()Get the grammar namevoidsetName(String name)Set the grammar's name
-
-
-
Method Detail
-
executeAction
void executeAction(C asn1Container) throws DecoderException
This method, when called, execute an action on the current data stored in the container.- Parameters:
asn1Container- Store the data being processed.- Throws:
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
-
-