ooc
Class AttributeConverterTag
java.lang.Object
ooc.AttributeConverterAbstract
ooc.AttributeConverterTag
- All Implemented Interfaces:
- AttributeConverter
- Direct Known Subclasses:
- AttributeConverterInstance
- public class AttributeConverterTag
- extends AttributeConverterAbstract
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeConverterTag
public AttributeConverterTag()
AttributeConverterTag
public AttributeConverterTag(boolean needsValidateCard,
boolean needsValue)
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