ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.exm.authoring.domain.expression 

ExpressionValidationResult  - AS3 Expression Manager

Packagecom.adobe.solutions.exm.authoring.domain.expression
Classpublic class ExpressionValidationResult
InheritanceExpressionValidationResult Inheritance Object

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Encapsulates the result of syntactic validation of an expression.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  validationSucceeded : Boolean
[read-only] Returns whether expression validation succeeded.
ExpressionValidationResult
Public Methods
 MethodDefined By
  
ExpressionValidationResult(validationSucceeded:Boolean, validationError:ExpressionValidationError = null)
Creates a new ExpressionValidationResult instance.
ExpressionValidationResult
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
  
If expression validation failed, returns the error thrown by the validator, else returns null.
ExpressionValidationResult
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

validationSucceeded

property
validationSucceeded:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Returns whether expression validation succeeded.



Implementation
    public function get validationSucceeded():Boolean
Constructor Detail

ExpressionValidationResult

()Constructor
public function ExpressionValidationResult(validationSucceeded:Boolean, validationError:ExpressionValidationError = null)

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Creates a new ExpressionValidationResult instance.

Parameters
validationSucceeded:Boolean — Whether validation succeeded.
 
validationError:ExpressionValidationError (default = null) — If validation failed, the error thrown by the validator.
Method Detail

validationError

()method
public function validationError():ExpressionValidationError

Language Version: ActionScript 3.0
Product Version: Expression Manager Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

If expression validation failed, returns the error thrown by the validator, else returns null.

Returns
ExpressionValidationError