public class StyleReferenceValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
StyledElement
. If the
value can refer to an actual style, it will be resolved after validation.
StyledElement.STYLE_PROP
value of StyledElement
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of this validator.
|
Constructor and Description |
---|
StyleReferenceValidator() |
Modifier and Type | Method and Description |
---|---|
static StyleReferenceValidator |
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 style reference value can refer to an actual style.
|
public static final java.lang.String NAME
public static StyleReferenceValidator 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 styled element holding the style referenceSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.