public class SimpleListValidator
extends org.eclipse.birt.report.model.validators.AbstractPropertyValidator
DesignElement.| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
NAME
Name of this validator.
|
| 构造器和说明 |
|---|
SimpleListValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SimpleListValidator |
getInstance()
Returns the singleton validator instance.
|
java.util.List<SemanticException> |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
java.lang.String propName)
Validates whether the list property specified by
propName is
invalid. |
java.util.List<SemanticException> |
validateForAdding(DesignElementHandle element,
IPropertyDefn propDefn,
java.util.List<java.lang.Object> list,
java.lang.Object toAdd)
Validates whether a new item can be added to the simple value list.
|
public static final java.lang.String NAME
public static SimpleListValidator getInstance()
public java.util.List<SemanticException> validateForAdding(DesignElementHandle element, IPropertyDefn propDefn, java.util.List<java.lang.Object> list, java.lang.Object toAdd)
element - the element holding the value listpropDefn - definition of the list propertylist - the value listtoAdd - the item to addSemanticException.public java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element, java.lang.String propName)
propName is
invalid.validate 在类中 org.eclipse.birt.report.model.validators.AbstractPropertyValidatormodule - the moduleelement - the element to validatepropName - the name of the list property to validateSemanticException.Copyright © 2008 Actuate Corp. All rights reserved.