public class AttributeCheckAttributesMapper extends Object implements AttributesMapper<Object>
Constructor and Description |
---|
AttributeCheckAttributesMapper() |
Modifier and Type | Method and Description |
---|---|
Object |
mapFromAttributes(Attributes attributes)
Map Attributes to an object.
|
void |
setAbsentAttributes(String[] absentAttributes) |
void |
setExpectedAttributes(String[] expectedAttributes) |
void |
setExpectedValues(String[] expectedValues) |
public Object mapFromAttributes(Attributes attributes) throws NamingException
AttributesMapper
mapFromAttributes
in interface AttributesMapper<Object>
attributes
- attributes from a SearchResult.NamingException
- if any error occurs mapping the attributespublic void setAbsentAttributes(String[] absentAttributes)
public void setExpectedAttributes(String[] expectedAttributes)
public void setExpectedValues(String[] expectedValues)