ooc
Class AttributeConverterStringOption

java.lang.Object
  extended byooc.AttributeConverterAbstract
      extended byooc.AttributeConverterString
          extended byooc.AttributeConverterStringOption
All Implemented Interfaces:
AttributeConverter
Direct Known Subclasses:
AttributeConverterBoolean

public class AttributeConverterStringOption
extends AttributeConverterString


Constructor Summary
AttributeConverterStringOption()
           
AttributeConverterStringOption(boolean needsValidateCard, boolean needsValue, boolean ignoreCase)
           
 
Method Summary
 boolean ignoreCase()
           
 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.AttributeConverterString
convertWrapt, getClass
 
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

AttributeConverterStringOption

public AttributeConverterStringOption()

AttributeConverterStringOption

public AttributeConverterStringOption(boolean needsValidateCard,
                                      boolean needsValue,
                                      boolean ignoreCase)
Method Detail

ignoreCase

public boolean ignoreCase()

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