public class PropertyValueValidationUtil
extends java.lang.Object
Constructor and Description |
---|
PropertyValueValidationUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
validateProperty(DesignElementHandle element,
java.lang.String propName,
java.lang.Object propValue)
Validates a value to be stored for the given property.
|
public static java.lang.Object validateProperty(DesignElementHandle element, java.lang.String propName, java.lang.Object propValue) throws SemanticException
element
- the element to store the property valuepropName
- the property namepropValue
- the value to checkSemanticException
- if propValue
is invalid.Copyright © 2008 Actuate Corp. All rights reserved.