Package org.apache.tapestry5.model
Interface EmbeddedComponentModel
- All Superinterfaces:
Locatable
- All Known Subinterfaces:
MutableEmbeddedComponentModel
- All Known Implementing Classes:
MutableEmbeddedComponentModelImpl
The model for a component embedded within another component, as defined by the
Component
annotation.-
Method Summary
Modifier and TypeMethodDescriptionThe class name of the component, as derived from the field to which theComponent
annotation is applied.The type of the component, which may be blank.String[]
getConstraintsForMixin
(String mixinClassName) getId()
A unique id for the embedded component.boolean
If true, then the component should inherit informal parameters from its container.Returns the fully qualified class names of all mixins added to this component, sorted alphabetically.A sorted list of the names of all bound parameters.getParameterValue
(String parameterName) The value for each parameter, which will be interpreted as a binding expression.Returns the list of published parameters of this component (usually an empty list).Methods inherited from interface org.apache.tapestry5.commons.Locatable
getLocation
-
Method Details
-
getId
A unique id for the embedded component. -
getComponentType
The type of the component, which may be blank. -
getComponentClassName
The class name of the component, as derived from the field to which theComponent
annotation is applied. This value is only used when the componentType property is blank. -
getParameterNames
A sorted list of the names of all bound parameters. -
getParameterValue
The value for each parameter, which will be interpreted as a binding expression. -
getMixinClassNames
Returns the fully qualified class names of all mixins added to this component, sorted alphabetically. -
getInheritInformalParameters
boolean getInheritInformalParameters()If true, then the component should inherit informal parameters from its container. -
getPublishedParameters
Returns the list of published parameters of this component (usually an empty list).- Returns:
- list of parameter names to publish
- Since:
- 5.1.0.0
- See Also:
-
getConstraintsForMixin
- Parameters:
mixinClassName
-- Returns:
- the ordering constraints for the specified mixin, or null.
- Since:
- 5.2.0.0
-