org.apache.directory.api.ldap.codec.api
Class SchemaBinaryAttributeDetector
java.lang.Object
org.apache.directory.api.ldap.codec.api.SchemaBinaryAttributeDetector
- All Implemented Interfaces:
- BinaryAttributeDetector
- Direct Known Subclasses:
- DefaultConfigurableBinaryAttributeDetector
public class SchemaBinaryAttributeDetector
- extends Object
- implements BinaryAttributeDetector
An implementation of the BinaryAttributeDetector interface. It's not
schema aware, so it only uses the list of binary Attributes.
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaBinaryAttributeDetector
protected SchemaBinaryAttributeDetector()
SchemaBinaryAttributeDetector
public SchemaBinaryAttributeDetector(SchemaManager schemaManager)
setSchemaManager
public void setSchemaManager(SchemaManager schemaManager)
- Parameters:
schemaManager - the schemaManager to set
isBinary
public boolean isBinary(String attributeId)
- Returns true if the attribute specified is not human readible.
- Specified by:
isBinary in interface BinaryAttributeDetector
- Parameters:
attributeId - the identifier/descriptor for the attribute to be checked.
- Returns:
- true if the attribute specified is not human readible, false otherwise
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.