public class TableHeaderContextContainmentValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
TableItem and ListItem currently.| 构造器和说明 |
|---|
TableHeaderContextContainmentValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static TableHeaderContextContainmentValidator |
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 given element can recursively resides in the
specific slot of specific container type.
|
java.util.List<SemanticException> |
validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.ContainerContext containerInfo,
org.eclipse.birt.report.model.core.DesignElement toAdd)
Validates whether the given element can recursively resides in the
specific slot of specific container type when trying to add an element.
|
java.util.List<SemanticException> |
validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
IElementDefn toAdd)
Validates whether the given element can recursively resides in the
specific slot of specific container type when trying to add an element.
|
java.util.List<SemanticException> |
validateForAdding(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element,
int slotId,
org.eclipse.birt.report.model.core.DesignElement toAdd)
已过时。
since birt2.2, replaced by
validateForAdding(Module, ContainerContext, DesignElement) |
public static TableHeaderContextContainmentValidator getInstance()
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 element to validateSemanticException.public java.util.List<SemanticException> validateForAdding(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.ContainerContext containerInfo, org.eclipse.birt.report.model.core.DesignElement toAdd)
module - the modulecontainerInfo - the container informationtoAdd - the element to addSemanticException.public java.util.List<SemanticException> validateForAdding(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element, int slotId, org.eclipse.birt.report.model.core.DesignElement toAdd)
validateForAdding(Module, ContainerContext, DesignElement)module - the moduleelement - the container elementslotId - the slot where the new element to inserttoAdd - the element to addSemanticException.public java.util.List<SemanticException> validateForAdding(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element, IElementDefn toAdd)
module - the root module of the element to validateelement - the container elementtoAdd - the element definition to addSemanticException.Copyright © 2008 Actuate Corp. All rights reserved.