Class MutableEmbeddedComponentModelImpl
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.model.MutableEmbeddedComponentModelImpl
- All Implemented Interfaces:
Locatable,EmbeddedComponentModel,MutableEmbeddedComponentModel
public class MutableEmbeddedComponentModelImpl
extends BaseLocatable
implements MutableEmbeddedComponentModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a mixin to the component in terms of its fully qualified class name, with optional ordering constraints.voidaddParameter(String name, String value) The class name of the component, as derived from the field to which theComponentannotation is applied.The type of the component, which may be blank.String[]getConstraintsForMixin(String mixinClassName) getId()A unique id for the embedded component.booleanIf 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).voidsetPublishedParameters(List<String> parameterNames) Sets the list of published parameters for this embedded component.toString()Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tapestry5.commons.Locatable
getLocation
-
Constructor Details
-
MutableEmbeddedComponentModelImpl
-
-
Method Details
-
getComponentClassName
Description copied from interface:EmbeddedComponentModelThe class name of the component, as derived from the field to which theComponentannotation is applied. This value is only used when the componentType property is blank.- Specified by:
getComponentClassNamein interfaceEmbeddedComponentModel
-
toString
-
addParameter
- Specified by:
addParameterin interfaceMutableEmbeddedComponentModel
-
getId
Description copied from interface:EmbeddedComponentModelA unique id for the embedded component.- Specified by:
getIdin interfaceEmbeddedComponentModel
-
getComponentType
Description copied from interface:EmbeddedComponentModelThe type of the component, which may be blank.- Specified by:
getComponentTypein interfaceEmbeddedComponentModel
-
getParameterNames
Description copied from interface:EmbeddedComponentModelA sorted list of the names of all bound parameters.- Specified by:
getParameterNamesin interfaceEmbeddedComponentModel
-
getParameterValue
Description copied from interface:EmbeddedComponentModelThe value for each parameter, which will be interpreted as a binding expression.- Specified by:
getParameterValuein interfaceEmbeddedComponentModel
-
getMixinClassNames
Description copied from interface:EmbeddedComponentModelReturns the fully qualified class names of all mixins added to this component, sorted alphabetically.- Specified by:
getMixinClassNamesin interfaceEmbeddedComponentModel
-
addMixin
Description copied from interface:MutableEmbeddedComponentModelAdds a mixin to the component in terms of its fully qualified class name, with optional ordering constraints.- Specified by:
addMixinin interfaceMutableEmbeddedComponentModel
-
getInheritInformalParameters
Description copied from interface:EmbeddedComponentModelIf true, then the component should inherit informal parameters from its container.- Specified by:
getInheritInformalParametersin interfaceEmbeddedComponentModel
-
setPublishedParameters
Description copied from interface:MutableEmbeddedComponentModelSets the list of published parameters for this embedded component.- Specified by:
setPublishedParametersin interfaceMutableEmbeddedComponentModel- Parameters:
parameterNames- list of names- See Also:
-
getPublishedParameters
Description copied from interface:EmbeddedComponentModelReturns the list of published parameters of this component (usually an empty list).- Specified by:
getPublishedParametersin interfaceEmbeddedComponentModel- Returns:
- list of parameter names to publish
- See Also:
-
getConstraintsForMixin
- Specified by:
getConstraintsForMixinin interfaceEmbeddedComponentModel- Returns:
- the ordering constraints for the specified mixin, or null.
-