Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.report.model.api.util
Class PropertyValueValidationUtil

    java.lang.Object
      org.eclipse.birt.report.model.api.util.PropertyValueValidationUtil

    public class PropertyValueValidationUtil

extends java.lang.Object

Utility class to validate the property value.

Constructor Summary
`PropertyValueValidationUtil()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PropertyValueValidationUtil

    public PropertyValueValidationUtil()

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 value
    `propName` - the property name
    `propValue` - the value to check
  Returns:
    the translated value to be stored
  Throws:
    `SemanticException` - if `propValue` is invalid.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.