public class GroupNameValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
ListingElement.| 构造器和说明 |
|---|
GroupNameValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GroupNameValidator |
getInstance()
Returns the singleton validator instance.
|
java.util.List<SemanticException> |
validate(ListingHandle element)
Validates whether the given element contains the duplicate group name.
|
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 element contains the duplicate group name.
|
java.util.List<SemanticException> |
validateForAddingGroup(ListingHandle element,
java.lang.String groupName)
Validates whether the group with the given name can be added into the
given listing element.
|
java.util.List<SemanticException> |
validateForRenamingGroup(ListingHandle element,
GroupHandle group,
java.lang.String groupName)
Validates whether the group can be renamed to the given name.
|
public static GroupNameValidator getInstance()
public java.util.List<SemanticException> validateForAddingGroup(ListingHandle element, java.lang.String groupName)
element - List/Table elementgroupName - name of the group to addSemanticException.public java.util.List<SemanticException> validateForRenamingGroup(ListingHandle element, GroupHandle group, java.lang.String groupName)
element - List/Table elementgroup - the group to renamegroupName - name of the group to addSemanticException.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 listing element to checkSemanticException.public java.util.List<SemanticException> validate(ListingHandle element)
element - the handle of the listing element to checkSemanticException.Copyright © 2008 Actuate Corp. All rights reserved.