Package net.sourceforge.jarduino.message
Class ArduinoAttrConstraints.ArduinoAttrValueConstraints
java.lang.Object
net.sourceforge.jarduino.message.ArduinoAttrConstraints.ArduinoAttrValueConstraints
- All Implemented Interfaces:
ArduinoAttrConstraints
- Enclosing interface:
- ArduinoAttrConstraints
public static class ArduinoAttrConstraints.ArduinoAttrValueConstraints extends Object implements ArduinoAttrConstraints
Value Constraints.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sourceforge.jarduino.message.ArduinoAttrConstraints
ArduinoAttrConstraints.ArduinoAttrEnumConstraints, ArduinoAttrConstraints.ArduinoAttrValueConstraints
-
Method Summary
Modifier and Type Method Description Object
checkValue(Object pValue)
Check valid value.
-
Method Details
-
checkValue
public Object checkValue(Object pValue) throws net.sourceforge.jarduino.message.ArduinoParser.ArduinoParserExceptionDescription copied from interface:ArduinoAttrConstraints
Check valid value.- Specified by:
checkValue
in interfaceArduinoAttrConstraints
- Parameters:
pValue
- the value.- Returns:
- corrected value
- Throws:
net.sourceforge.jarduino.message.ArduinoParser.ArduinoParserException
- on error
-