Class PropertyValueValidationUtil
- java.lang.Object
-
- org.eclipse.birt.report.model.api.util.PropertyValueValidationUtil
-
public class PropertyValueValidationUtil extends java.lang.ObjectUtility class to validate the property value.
-
-
Constructor Summary
Constructors Constructor Description PropertyValueValidationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ObjectvalidateProperty(DesignElementHandle element, java.lang.String propName, java.lang.Object propValue)Validates a value to be stored for the given property.
-
-
-
Method Detail
-
validateProperty
public static java.lang.Object validateProperty(DesignElementHandle element, java.lang.String propName, java.lang.Object propValue) throws SemanticException
Validates a value to be stored for the given property.- Parameters:
element- the element to store the property valuepropName- the property namepropValue- the value to check- Returns:
- the translated value to be stored
- Throws:
SemanticException- ifpropValueis invalid.
-
-