public class MasterPageSizeValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
MasterPage.HEIGHT_PROP
and
MasterPage.WIDTH_PROP
must be larger than or equals zero.
MasterPage
.Constructor and Description |
---|
MasterPageSizeValidator() |
Modifier and Type | Method and Description |
---|---|
static MasterPageSizeValidator |
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 size is invalid.
|
public static MasterPageSizeValidator 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 master page to validateSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.