public class ElementReferenceValidator
extends org.eclipse.birt.report.model.validators.AbstractPropertyValidator
DesignElement
,
except StyledElement.STYLE_PROP
. The
StyledElement.STYLE_PROP
value should be validated with
StyleReferenceValidator
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of this validator.
|
Constructor and Description |
---|
ElementReferenceValidator() |
Modifier and Type | Method and Description |
---|---|
static ElementReferenceValidator |
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 the element reference value can refer to an actual element.
|
public static final java.lang.String NAME
public static ElementReferenceValidator 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 the element reference propertypropName
- the name of the element reference propertySemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.