public class ThemeReferenceValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
IModuleModel.THEME_PROP value of Module
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of this validator.
|
Constructor and Description |
---|
ThemeReferenceValidator() |
Modifier and Type | Method and Description |
---|---|
static ThemeReferenceValidator |
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)
Validates the theme reference value can refer to an actual theme.
|
public static final java.lang.String NAME
public static ThemeReferenceValidator getInstance()
public java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
validate
in class org.eclipse.birt.report.model.validators.AbstractElementValidator
module
- the moduleelement
- the module element holding the theme referenceSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.