public class GroupNameValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
ListingElement
.Constructor and Description |
---|
GroupNameValidator() |
Modifier and Type | Method and Description |
---|---|
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
in class org.eclipse.birt.report.model.validators.AbstractElementValidator
module
- 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.