com.ca.jcs.converter.attr
Class StringArrayAttributeConverter
java.lang.Object
com.ca.jcs.converter.attr.StringArrayAttributeConverter
- All Implemented Interfaces:
- AttributeConverter
public class StringArrayAttributeConverter
- extends Object
- implements AttributeConverter
Convert a multi-valued attribute to a single String[] value.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringArrayAttributeConverter
public StringArrayAttributeConverter()
isMultiValued
public boolean isMultiValued()
- Specified by:
isMultiValued in interface AttributeConverter
isStructural
public boolean isStructural()
- Description copied from interface:
AttributeConverter
- Returns true if the converter performs a change to the structure of an attribute's values, rather then just transforming individual values themselves.
For instance changing a multi-valued attribute into a String[] is a structural conversion.
- Specified by:
isStructural in interface AttributeConverter
getConverter
public Converter getConverter()
- Description copied from interface:
AttributeConverter
- Can be null for some structural converters.
- Specified by:
getConverter in interface AttributeConverter
convertToConnector
public void convertToConnector(Attribute attr)
throws NamingException
- Specified by:
convertToConnector in interface AttributeConverter
- Throws:
NamingException
convertFromConnector
public void convertFromConnector(Attribute connAttr)
throws NamingException
- Specified by:
convertFromConnector in interface AttributeConverter
- Throws:
NamingException
Created 2009-10-09 16:43 EST