public class ThemeStyleNameValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
Theme.| 构造器和说明 |
|---|
ThemeStyleNameValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ThemeStyleNameValidator |
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 given element which is in report.
|
java.util.List<SemanticException> |
validateForAddingStyle(AbstractThemeHandle theme,
java.lang.String styleName)
Validates whether the style with the given name can be added into the
given theme element.
|
java.util.List<SemanticException> |
validateForRenamingStyle(AbstractThemeHandle theme,
StyleHandle style,
java.lang.String styleName)
Validates whether the style can be renamed to the given name.
|
public static ThemeStyleNameValidator getInstance()
public java.util.List<SemanticException> validateForAddingStyle(AbstractThemeHandle theme, java.lang.String styleName)
theme - the theme elementstyleName - name of the style to addSemanticException.public java.util.List<SemanticException> validateForRenamingStyle(AbstractThemeHandle theme, StyleHandle style, java.lang.String styleName)
theme - the theme elementstyle - the style to renamestyleName - the new name of the style to addSemanticException.public java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
org.eclipse.birt.report.model.validators.AbstractElementValidatorvalidate 在类中 org.eclipse.birt.report.model.validators.AbstractElementValidatormodule - the moduleelement - the given element to validateSemanticException.Copyright © 2008 Actuate Corp. All rights reserved.