org.whattf.datatype
Class AsciiCaseInsensitiveString
java.lang.Object
org.whattf.datatype.AbstractDatatype
org.whattf.datatype.AsciiCaseInsensitiveString
- All Implemented Interfaces:
- Datatype
public class AsciiCaseInsensitiveString
- extends AbstractDatatype
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THE_INSTANCE
public static final AsciiCaseInsensitiveString THE_INSTANCE
- The singleton instance.
AsciiCaseInsensitiveString
protected AsciiCaseInsensitiveString()
- Package-private constructor
checkValid
public void checkValid(CharSequence literal)
throws DatatypeException
- Specified by:
checkValid
in class AbstractDatatype
- Throws:
DatatypeException
createValue
public Object createValue(String literal,
ValidationContext context)
- Description copied from class:
AbstractDatatype
- Implements strict string equality semantics by returning
literal
itself.
- Specified by:
createValue
in interface Datatype
- Overrides:
createValue
in class AbstractDatatype
- Parameters:
literal
- the value (get returned)context
- ignored
- Returns:
- the
literal
that was passed in - See Also:
AbstractDatatype.createValue(java.lang.String, org.relaxng.datatype.ValidationContext)