ooc
Class AttributeConverterList

java.lang.Object
  extended byooc.AttributeConverterAbstract
      extended byooc.AttributeConverterList
All Implemented Interfaces:
AttributeConverter

public class AttributeConverterList
extends AttributeConverterAbstract


Constructor Summary
AttributeConverterList()
           
AttributeConverterList(boolean needsValidateCard, boolean needsValue, AttributeConverter attributeConverter, java.lang.String valueSeparator)
           
 
Method Summary
 java.lang.Object convertWrapt(java.lang.String vCard, java.lang.String strValue, Tag tag, TagAttribute attribute, Dependencies dependencies)
           
 java.lang.Class getClass(java.lang.String vCard, java.lang.String strValue, Tag tag, TagAttribute attribute, TagErrorHandler teh)
          Returns the class of the instance converted by this attribute converter.
 void setAttributeConverter(AttributeConverter attributeConverter)
           
 void setValueSeparator(java.lang.String valueSeparator)
           
 boolean validate(java.lang.String vCard, java.lang.String strValue, TagAttribute attribute, TagErrorHandler teh)
          Return true if it is valid, else false.
 
Methods inherited from class ooc.AttributeConverterAbstract
convert, needsValidateCard, needsValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeConverterList

public AttributeConverterList()

AttributeConverterList

public AttributeConverterList(boolean needsValidateCard,
                              boolean needsValue,
                              AttributeConverter attributeConverter,
                              java.lang.String valueSeparator)
Method Detail

setAttributeConverter

public void setAttributeConverter(AttributeConverter attributeConverter)

setValueSeparator

public void setValueSeparator(java.lang.String valueSeparator)

validate

public boolean validate(java.lang.String vCard,
                        java.lang.String strValue,
                        TagAttribute attribute,
                        TagErrorHandler teh)
Description copied from interface: AttributeConverter
Return true if it is valid, else false.

Specified by:
validate in interface AttributeConverter
Overrides:
validate in class AttributeConverterAbstract

getClass

public java.lang.Class getClass(java.lang.String vCard,
                                java.lang.String strValue,
                                Tag tag,
                                TagAttribute attribute,
                                TagErrorHandler teh)
Description copied from interface: AttributeConverter
Returns the class of the instance converted by this attribute converter.


convertWrapt

public java.lang.Object convertWrapt(java.lang.String vCard,
                                     java.lang.String strValue,
                                     Tag tag,
                                     TagAttribute attribute,
                                     Dependencies dependencies)
Specified by:
convertWrapt in class AttributeConverterAbstract