#NEWLINE# def validate( self , value ) : #NEWLINE# #INDENT# ': Validate and return a valid value\n\n      = ERROR CONDITIONS\n      - Will throw an exception if the specified value is invalid.\n\n      = INPUT VARIABLES\n      - value   The value to set the instance of this property to.\n\n      = RETURN VALUE\n      - Returns a valid value.\n      ' #NEWLINE# for cvtType in self . validator . args [ 0 ] : #NEWLINE# #INDENT# if isinstance ( cvtType , StyleProperty ) : #NEWLINE# #INDENT# cvtType . _name = self . name #NEWLINE# #UNINDENT# #UNINDENT# result = StyleProperty . validate ( self , value ) #NEWLINE# return result