|
||||||||||
| 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.CssSizeValidator
public class CssSizeValidator
Validates that a parameter is a valid CSS2 size value. It validates for a number, optionally followed by 'px', 'pt' or 'em'.
| Method Summary | |
|---|---|
void |
assertValid(java.lang.String propertyValue)
Throws a MacroParameterValidationException if the property value is invalid. |
static CssSizeValidator |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CssSizeValidator getInstance()
public void assertValid(java.lang.String propertyValue)
throws MacroParameterValidationException
ParameterValidator
assertValid in interface ParameterValidatorpropertyValue - 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 | |||||||||