|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.renderer.v2.macro.basic.validator.WidthSizeValidator
public class WidthSizeValidator
Validates that a parameter is a valid width value. It validates for a number, optionally followed by 'px' or '%'.
| Method Summary | |
|---|---|
void |
assertValid(java.lang.String parameterValue)
Throws a MacroParameterValidationException if the property value is invalid. |
static WidthSizeValidator |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WidthSizeValidator getInstance()
public void assertValid(java.lang.String parameterValue)
throws MacroParameterValidationException
ParameterValidator
assertValid in interface ParameterValidatorparameterValue - the property value to validate
MacroParameterValidationException - if the property value is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||