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