ooc
Class AttributeConverterMethod

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

public class AttributeConverterMethod
extends AttributeConverterAbstract


Field Summary
static java.lang.String END_PARAM
           
static java.lang.String METHOD_CLASS_SEPARATOR_ID
           
static java.lang.String START_PARAM
           
static java.lang.String TAG_INSTANCE_ID
           
 
Constructor Summary
AttributeConverterMethod()
           
 
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.
 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
 

Field Detail

TAG_INSTANCE_ID

public static final java.lang.String TAG_INSTANCE_ID
See Also:
Constant Field Values

METHOD_CLASS_SEPARATOR_ID

public static final java.lang.String METHOD_CLASS_SEPARATOR_ID
See Also:
Constant Field Values

START_PARAM

public static final java.lang.String START_PARAM
See Also:
Constant Field Values

END_PARAM

public static final java.lang.String END_PARAM
See Also:
Constant Field Values
Constructor Detail

AttributeConverterMethod

public AttributeConverterMethod()
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

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