com.atlassian.renderer.v2.macro.basic.validator
Class BorderStyleValidator
java.lang.Object
com.atlassian.renderer.v2.macro.basic.validator.BorderStyleValidator
- All Implemented Interfaces:
- ParameterValidator
public class BorderStyleValidator
- extends Object
- implements ParameterValidator
Validates that a parameter is a valid CSS2 border-style property value.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BorderStyleValidator getInstance()
assertValid
public void assertValid(String propertyValue)
throws MacroParameterValidationException
- Description copied from interface:
ParameterValidator
- Throws a MacroParameterValidationException if the property value is invalid. Implementations should check for
null and handle it appropriately appropriately.
- Specified by:
assertValid in interface ParameterValidator
- Parameters:
propertyValue - the property value to validate
- Throws:
MacroParameterValidationException - if the property value is invalid
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.