|
||||||||||
| PREV CLASS NEXT CLASS | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ca.jcs.converter.attr.AttributeValueConverter
public class AttributeValueConverter
Destructively convert all of an attributes values, either to suit connector (toConnector) or back to JCS standard format (fromConnector).
| Constructor Summary | |
|---|---|
AttributeValueConverter(Converter converter)
|
|
AttributeValueConverter(Converter converter,
boolean multiValued,
boolean structural)
|
|
| Method Summary | |
|---|---|
void |
convertFromConnector(Attribute connAttr)
Convert connAttr's values from connector-speak to LDAP. |
void |
convertToConnector(Attribute attr)
Convert attr's values from LDAP to connector-speak. |
Converter |
getConverter()
Returns lower level core converter to which this converter delegates single-value conversions. |
boolean |
isMultiValued()
Returns true if converter specifically targets multi-valued attributes, of interest when isStructural() returns true. |
boolean |
isStructural()
Returns true for structural converters modify the structural form of an attribute, rather then just the syntax of its values. |
protected void |
setConverter(Converter converter)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeValueConverter(Converter converter,
boolean multiValued,
boolean structural)
public AttributeValueConverter(Converter converter)
| Method Detail |
|---|
public boolean isMultiValued()
isMultiValued in interface AttributeConverterpublic boolean isStructural()
StringArrayAttributeConverter.
isStructural in interface AttributeConverterprotected void setConverter(Converter converter)
public Converter getConverter()
getConverter in interface AttributeConverter
public void convertToConnector(Attribute attr)
throws NamingException
convertToConnector in interface AttributeConverterNamingException
public void convertFromConnector(Attribute connAttr)
throws NamingException
convertFromConnector in interface AttributeConverterNamingException
|
||||||||||
| PREV CLASS NEXT CLASS | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||