Class MCRIntegerValidator
java.lang.Object
org.mycore.frontend.xeditor.validation.MCRValidator
org.mycore.frontend.xeditor.validation.MCRIntegerValidator
- Direct Known Subclasses:
MCRMaxIntegerValidator
,MCRMinIntegerValidator
Validates values to be integer numbers.
Example: <xed:validate type="integer" ... />
*
- Author:
- Frank Lützenkirchen
-
Field Summary
Fields inherited from class org.mycore.frontend.xeditor.validation.MCRValidator
relevantIfXPath, xPath
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected boolean
Methods inherited from class org.mycore.frontend.xeditor.validation.MCRValidator
configure, getAttributeValue, getRuleElement, hasAttributeValue, init, isRelevant, validate, validateBinding
-
Constructor Details
-
MCRIntegerValidator
public MCRIntegerValidator()
-
-
Method Details
-
hasRequiredAttributes
public boolean hasRequiredAttributes()- Specified by:
hasRequiredAttributes
in classMCRValidator
-
isValid
- Overrides:
isValid
in classMCRValidator
-