|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instances implementing this interface are responsible for converting attribute values to Java instances. Validation is done by respective attribute converter.
Method Summary | |
java.lang.Object |
convert(java.lang.String vCard,
java.lang.String strValue,
Tag tag,
TagAttribute attribute,
Dependencies dependencies)
Return the java instance constructed using the attribute at hand. |
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 |
needsValidateCard()
Returns true if the attribute must have a validation card, else false. |
boolean |
needsValue()
Returns true if the attribute must have a value, else false. |
boolean |
validate(java.lang.String vCard,
java.lang.String strValue,
TagAttribute attribute,
TagErrorHandler teh)
Return true if it is valid, else false. |
Method Detail |
public boolean needsValidateCard()
public boolean needsValue()
public boolean validate(java.lang.String vCard, java.lang.String strValue, TagAttribute attribute, TagErrorHandler teh)
public java.lang.Class getClass(java.lang.String vCard, java.lang.String strValue, Tag tag, TagAttribute attribute, TagErrorHandler teh)
public java.lang.Object convert(java.lang.String vCard, java.lang.String strValue, Tag tag, TagAttribute attribute, Dependencies dependencies)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |