org.apache.directory.shared.ldap.codec
Class LdapMessageGrammar
java.lang.Object
org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
org.apache.directory.shared.ldap.codec.LdapMessageGrammar
- All Implemented Interfaces:
- Grammar
public final class LdapMessageGrammar
- extends AbstractGrammar
This class implements the LdapMessage message. All the actions are declared
in this class. As it is a singleton, these declaration are only done once. If
an action is to be added or modified, this is where the work is to be done !
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static Grammar getInstance()
- Get the instance of this grammar
- Returns:
- An instance on the LdapMessage Grammar
getType
public static String getType(byte[] bytes)
- Build an AttributeType froma byte array. An AttributeType contains
only chars within [0-9][a-z][A-Z][-.].
- Parameters:
bytes - The bytes containing the AttributeType
- Returns:
- The AttributeType as a String
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.