public class MasterPageRequiredValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
ReportDesign
.Constructor and Description |
---|
MasterPageRequiredValidator() |
Modifier and Type | Method and Description |
---|---|
static MasterPageRequiredValidator |
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 whether the given report has one master page.
|
public static MasterPageRequiredValidator 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 report to validateSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.