|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.model.MutableEmbeddedComponentModelImpl
public class MutableEmbeddedComponentModelImpl
| Constructor Summary | |
|---|---|
MutableEmbeddedComponentModelImpl(String id,
String componentType,
String componentClassName,
String declaredClass,
boolean inheritInformalParameters,
Location location)
|
|
| Method Summary | |
|---|---|
void |
addMixin(String mixinClassName,
String... constraints)
Adds a mixin to the component in terms of its fully qualified class name, with optional ordering constraints. |
void |
addParameter(String name,
String value)
|
String |
getComponentClassName()
The class name of the component, as derived from the field to which the Component annotation is applied. |
String |
getComponentType()
The type of the component, which may be blank. |
String[] |
getConstraintsForMixin(String mixinClassName)
|
String |
getId()
A unique id for the embedded component. |
boolean |
getInheritInformalParameters()
If true, then the component should inherit informal parameters from its container. |
List<String> |
getMixinClassNames()
Returns the fully qualified class names of all mixins added to this component, sorted alphabetically. |
List<String> |
getParameterNames()
A sorted list of the names of all bound parameters. |
String |
getParameterValue(String parameterName)
The value for each parameter, which will be interpreted as a binding expression. |
List<String> |
getPublishedParameters()
Returns the list of published parameters of this component (usually an empty list). |
void |
setPublishedParameters(List<String> parameterNames)
Sets the list of published parameters for this embedded component. |
String |
toString()
|
| Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable |
|---|
getLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry5.ioc.Locatable |
|---|
getLocation |
| Constructor Detail |
|---|
public MutableEmbeddedComponentModelImpl(String id,
String componentType,
String componentClassName,
String declaredClass,
boolean inheritInformalParameters,
Location location)
| Method Detail |
|---|
public String getComponentClassName()
EmbeddedComponentModelComponent annotation is applied.
This value is only used when the componentType property is blank.
getComponentClassName in interface EmbeddedComponentModelpublic String toString()
toString in class Object
public void addParameter(String name,
String value)
addParameter in interface MutableEmbeddedComponentModelpublic String getId()
EmbeddedComponentModel
getId in interface EmbeddedComponentModelpublic String getComponentType()
EmbeddedComponentModel
getComponentType in interface EmbeddedComponentModelpublic List<String> getParameterNames()
EmbeddedComponentModel
getParameterNames in interface EmbeddedComponentModelpublic String getParameterValue(String parameterName)
EmbeddedComponentModel
getParameterValue in interface EmbeddedComponentModelpublic List<String> getMixinClassNames()
EmbeddedComponentModel
getMixinClassNames in interface EmbeddedComponentModel
public void addMixin(String mixinClassName,
String... constraints)
MutableEmbeddedComponentModel
addMixin in interface MutableEmbeddedComponentModelpublic boolean getInheritInformalParameters()
EmbeddedComponentModel
getInheritInformalParameters in interface EmbeddedComponentModelpublic void setPublishedParameters(List<String> parameterNames)
MutableEmbeddedComponentModel
setPublishedParameters in interface MutableEmbeddedComponentModelparameterNames - list of namesComponent.publishParameters()public List<String> getPublishedParameters()
EmbeddedComponentModel
getPublishedParameters in interface EmbeddedComponentModelComponent.publishParameters()public String[] getConstraintsForMixin(String mixinClassName)
getConstraintsForMixin in interface EmbeddedComponentModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||