ooc
Class AttributeConverterNumber

java.lang.Object
  extended byooc.AttributeConverterAbstract
      extended byooc.AttributeConverterNumber
All Implemented Interfaces:
AttributeConverter
Direct Known Subclasses:
AttributeConverterBigDecimal, AttributeConverterDouble, AttributeConverterFloat, AttributeConverterInteger, AttributeConverterLong, AttributeConverterShort

public abstract class AttributeConverterNumber
extends AttributeConverterAbstract


Constructor Summary
AttributeConverterNumber()
           
 
Method Summary
 java.lang.Object convertWrapt(java.lang.String vCard, java.lang.String strValue, Tag tag, TagAttribute attribute, Dependencies dependencies)
           
 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
 
Methods inherited from interface ooc.AttributeConverter
getClass
 

Constructor Detail

AttributeConverterNumber

public AttributeConverterNumber()
Method Detail

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

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