public class SchemaBinaryAttributeDetector extends Object implements BinaryAttributeDetector
Constructor and Description |
---|
SchemaBinaryAttributeDetector(SchemaManager schemaManager)
Create an instance of SchemaBinaryAttributeDetector.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBinary(String attributeId)
Returns true if the attribute specified is not human readible.
|
void |
setSchemaManager(SchemaManager schemaManager) |
public SchemaBinaryAttributeDetector(SchemaManager schemaManager)
schemaManager
- The SchemaManager to usepublic void setSchemaManager(SchemaManager schemaManager)
schemaManager
- the schemaManager to setpublic boolean isBinary(String attributeId)
isBinary
in interface BinaryAttributeDetector
attributeId
- the identifier/descriptor for the attribute to be checked.Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.