public class ValueRequiredValidator
extends org.eclipse.birt.report.model.validators.AbstractPropertyValidator
DesignElement
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of this validator
|
Constructor and Description |
---|
ValueRequiredValidator() |
Modifier and Type | Method and Description |
---|---|
static ValueRequiredValidator |
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 value is set for the given required property.
|
public static final java.lang.String NAME
public static ValueRequiredValidator getInstance()
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)
validate
in class org.eclipse.birt.report.model.validators.AbstractPropertyValidator
module
- the moduleelement
- the element holding this required propertypropName
- the name of the property to validateSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.