|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISlotDefn
Interface for the definition of a slot within an element. It defines methods to get Meta-data information about a slot within an element. Elements can act as a container, that is one that can contain other elements. A container has one or more slots. Many elements have just one slot, but some (such as the design) have several.
Method Summary | |
---|---|
boolean |
canContain(org.eclipse.birt.report.model.core.DesignElement content)
Determines if an element can reside within this slot. |
boolean |
canContain(IElementDefn type)
Determines if this slot can contain an element of the given type. |
java.util.List |
getContentElements()
Returns the set of element types that can appear in the slot. |
java.util.List |
getContentExtendedElements()
Returns the set of element types that can appear in the slot. |
java.lang.String |
getDisplayName()
Returns the localized display name. |
java.lang.String |
getDisplayNameID()
Returns the message ID for the display name. |
java.lang.String |
getName()
Returns the internal name. |
java.lang.String |
getSelector()
Returns the selector associated with the slot. |
java.lang.String |
getSince()
Return the version in which the slot was introduced. |
int |
getSlotID()
Returns the internal slot identifier. |
java.lang.String |
getXmlName()
Return the XML element used to hold slot contents. |
boolean |
isMultipleCardinality()
Returns the slot cardinality. |
Methods inherited from interface org.eclipse.birt.report.model.metadata.IContainerDefn |
---|
getAllowedElements, getAllowedElements |
Method Detail |
---|
java.lang.String getName()
getName
in interface org.eclipse.birt.report.model.metadata.IContainerDefn
boolean isMultipleCardinality()
java.lang.String getDisplayName()
getDisplayName
in interface org.eclipse.birt.report.model.metadata.IContainerDefn
java.lang.String getDisplayNameID()
int getSlotID()
java.util.List getContentElements()
IElementDefn
.
java.util.List getContentExtendedElements()
IElementDefn
. Extended elements are
replaced by actual extension elements.
boolean canContain(IElementDefn type)
canContain
in interface org.eclipse.birt.report.model.metadata.IContainerDefn
type
- the type to test
boolean canContain(org.eclipse.birt.report.model.core.DesignElement content)
canContain
in interface org.eclipse.birt.report.model.metadata.IContainerDefn
content
- the design element to check
java.lang.String getSince()
java.lang.String getXmlName()
java.lang.String getSelector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |