Package nu.validator.datatype
Class ImageCandidateStrings
java.lang.Object
nu.validator.datatype.AbstractDatatype
nu.validator.datatype.ImageCandidateStrings
- All Implemented Interfaces:
org.relaxng.datatype.Datatype
- Direct Known Subclasses:
ImageCandidateStringsWidthRequired
public class ImageCandidateStrings extends AbstractDatatype
-
Nested Class Summary
Nested classes/interfaces inherited from class nu.validator.datatype.AbstractDatatype
AbstractDatatype.CharSequenceWithOffset
-
Field Summary
Fields Modifier and Type Field Description static ImageCandidateStrings
THE_INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImageCandidateStrings()
-
Method Summary
Modifier and Type Method Description void
checkValid(java.lang.CharSequence literal)
java.lang.String
getName()
protected boolean
widthRequired()
Methods inherited from class nu.validator.datatype.AbstractDatatype
checkValid, createStreamingValidator, createValue, getIdType, isAsciiDigit, isContextDependent, isValid, isWhitespace, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, newDatatypeException, sameValue, split, toAsciiLowerCase, toAsciiLowerCase, toAsciiUpperCase, toAsciiUpperCase, valueHashCode
-
Field Details
-
Constructor Details
-
ImageCandidateStrings
protected ImageCandidateStrings()
-
-
Method Details
-
checkValid
public void checkValid(java.lang.CharSequence literal) throws org.relaxng.datatype.DatatypeException- Specified by:
checkValid
in classAbstractDatatype
- Throws:
org.relaxng.datatype.DatatypeException
-
widthRequired
protected boolean widthRequired() -
getName
public java.lang.String getName()- Specified by:
getName
in classAbstractDatatype
-