public class PropertyValueValidationUtil
extends java.lang.Object
| 构造器和说明 |
|---|
PropertyValueValidationUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.