public class EmbeddedComponentAssemblerImpl extends java.lang.Object
| Constructor and Description |
|---|
EmbeddedComponentAssemblerImpl(ComponentAssemblerSource assemblerSource,
ComponentInstantiatorSource instantiatorSource,
ComponentClassResolver componentClassResolver,
java.lang.String componentClassName,
ComponentResourceSelector selector,
EmbeddedComponentModel embeddedModel,
java.lang.String templateMixins,
Location location,
boolean strictMixinParameters) |
| Modifier and Type | Method and Description |
|---|---|
int |
addMixinsToElement(ComponentPageElement newElement)
Adds mixins to the newly created embedded element.
|
org.apache.tapestry5.internal.pageload.ParameterBinder |
createParameterBinder(java.lang.String qualifiedParameterName)
Creates a binder that can later be used to bind the parameter.
|
org.apache.tapestry5.internal.pageload.ComponentAssembler |
getComponentAssembler()
Returns the assembler responsible for creating instances of this embedded component.
|
java.util.Set<java.lang.String> |
getFormalParameterNames()
Returns the names of all formal parameters.
|
Location |
getLocation()
Returns the location associated with this object for error reporting purposes.
|
boolean |
isBound(java.lang.String parameterName)
Checks to see if the parameter name has been bound.
|
void |
setBound(java.lang.String parameterName)
Marks the parameter name as bound.
|
public EmbeddedComponentAssemblerImpl(ComponentAssemblerSource assemblerSource, ComponentInstantiatorSource instantiatorSource, ComponentClassResolver componentClassResolver, java.lang.String componentClassName, ComponentResourceSelector selector, EmbeddedComponentModel embeddedModel, java.lang.String templateMixins, Location location, boolean strictMixinParameters)
assemblerSource - instantiatorSource - used to access component modelscomponentClassResolver - used to convert mixin types to component modelscomponentClassName - class name of embedded componentselector - used to select template and other resourcesembeddedModel - embedded model (may be null for components defined in the template)templateMixins - list of mixins from the t:mixins element (possibly null)location - location of components element in its container's templatestrictMixinParameters - if true (e.g., the 5.4 DTD) then mixin parameters must be fully qualifiedpublic org.apache.tapestry5.internal.pageload.ComponentAssembler getComponentAssembler()
public org.apache.tapestry5.internal.pageload.ParameterBinder createParameterBinder(java.lang.String qualifiedParameterName)
qualifiedParameterName - simple or qualified parameter namepublic boolean isBound(java.lang.String parameterName)
public void setBound(java.lang.String parameterName)
Component annotation (even inherited bindings).public int addMixinsToElement(ComponentPageElement newElement)
newElement - new element requiring mixinspublic Location getLocation()
Locatablepublic java.util.Set<java.lang.String> getFormalParameterNames()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.