/** * Creates a new LdapMessageContainer object. We will store ten grammars, * it's enough ... * * @param codec The LDAP service instance * @param binaryAttributeDetector checks if an attribute is binary */ public LdapMessageContainer( LdapApiService codec, BinaryAttributeDetector binaryAttributeDetector ) { super(); this.codec = codec; setGrammar( LdapMessageGrammar.getInstance() ); this.binaryAttributeDetector = binaryAttributeDetector; setTransition( LdapStatesEnum.START_STATE ); }
/** * Creates a new LdapMessageContainer object. We will store ten grammars, * it's enough ... * * @param codec The LDAP service instance * @param binaryAttributeDetector checks if an attribute is binary */ public LdapMessageContainer( LdapApiService codec, BinaryAttributeDetector binaryAttributeDetector ) { super(); this.codec = codec; setGrammar( LdapMessageGrammar.getInstance() ); this.binaryAttributeDetector = binaryAttributeDetector; setTransition( LdapStatesEnum.START_STATE ); }
/** * Creates a new LdapMessageContainer object. We will store ten grammars, * it's enough ... * * @param codec The LDAP service instance * @param binaryAttributeDetector checks if an attribute is binary */ public LdapMessageContainer( LdapApiService codec, BinaryAttributeDetector binaryAttributeDetector ) { super(); this.codec = codec; setGrammar( LdapMessageGrammar.getInstance() ); this.binaryAttributeDetector = binaryAttributeDetector; setTransition( LdapStatesEnum.START_STATE ); }