public class MasterPageTypeValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
MasterPage.TYPE_PROP is
DesignChoiceConstants.PAGE_SIZE_CUSTOM, the
MasterPage.HEIGHT_PROP and MasterPage.WIDTH_PROP
must be set; otherwise, they should be empty.
MasterPage.| 构造器和说明 |
|---|
MasterPageTypeValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static MasterPageTypeValidator |
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 page type and size are consistent.
|
public static MasterPageTypeValidator getInstance()
public java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
validate 在类中 org.eclipse.birt.report.model.validators.AbstractElementValidatormodule - the moduleelement - the master page to validateSemanticException.Copyright © 2008 Actuate Corp. All rights reserved.