org.apache.directory.api.ldap.codec.api
Interface ConfigurableBinaryAttributeDetector

All Superinterfaces:
BinaryAttributeDetector
All Known Implementing Classes:
DefaultConfigurableBinaryAttributeDetector

public interface ConfigurableBinaryAttributeDetector
extends BinaryAttributeDetector

An interface used to abstract the means to detect whether or not an attribute identifier/descriptor represents a binary attributeType.


Method Summary
 void addBinaryAttribute(String... binaryAttributes)
          Add some binary Attributes Id to the list of attributes
 void removeBinaryAttribute(String... binaryAttributes)
          Remove some binary Attributes Id from the list of attributes
 void setBinaryAttributes(String... binaryAttributes)
          Inject a new set of binary attributes that will replace the old one.
 
Methods inherited from interface org.apache.directory.api.ldap.codec.api.BinaryAttributeDetector
isBinary
 

Method Detail

addBinaryAttribute

void addBinaryAttribute(String... binaryAttributes)
Add some binary Attributes Id to the list of attributes

Parameters:
binaryAttributes - The added binary attributes Id

removeBinaryAttribute

void removeBinaryAttribute(String... binaryAttributes)
Remove some binary Attributes Id from the list of attributes

Parameters:
binaryAttributes - The binary attributes Id to remove

setBinaryAttributes

void setBinaryAttributes(String... binaryAttributes)
Inject a new set of binary attributes that will replace the old one. If one inject a null set of attributes, the list of attributes will be cleared, and reset to the default list of binary attributes. If one injects an empty String array, then all the attributes will be removed from the list, and we won't inject the default attributes into it.

Parameters:
binaryAttributes - The new set of binary attributes


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.