Class EmbeddedComponentAssemblerImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.pageload.EmbeddedComponentAssemblerImpl
-
- All Implemented Interfaces:
Locatable
public class EmbeddedComponentAssemblerImpl extends Object
-
-
Constructor Summary
Constructors Constructor Description EmbeddedComponentAssemblerImpl(ComponentAssemblerSource assemblerSource, ComponentInstantiatorSource instantiatorSource, ComponentClassResolver componentClassResolver, String componentClassName, ComponentResourceSelector selector, EmbeddedComponentModel embeddedModel, String templateMixins, Location location, boolean strictMixinParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addMixinsToElement(ComponentPageElement newElement)
org.apache.tapestry5.internal.pageload.ParameterBinder
createParameterBinder(String qualifiedParameterName)
org.apache.tapestry5.internal.pageload.ComponentAssembler
getComponentAssembler()
Set<String>
getFormalParameterNames()
Location
getLocation()
Returns the location associated with this object for error reporting purposes.boolean
isBound(String parameterName)
void
setBound(String parameterName)
-
-
-
Constructor Detail
-
EmbeddedComponentAssemblerImpl
public EmbeddedComponentAssemblerImpl(ComponentAssemblerSource assemblerSource, ComponentInstantiatorSource instantiatorSource, ComponentClassResolver componentClassResolver, String componentClassName, ComponentResourceSelector selector, EmbeddedComponentModel embeddedModel, String templateMixins, Location location, boolean strictMixinParameters)
- Parameters:
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 qualified
-
-
Method Detail
-
getComponentAssembler
public org.apache.tapestry5.internal.pageload.ComponentAssembler getComponentAssembler()
-
createParameterBinder
public org.apache.tapestry5.internal.pageload.ParameterBinder createParameterBinder(String qualifiedParameterName)
-
addMixinsToElement
public int addMixinsToElement(ComponentPageElement newElement)
-
getLocation
public Location getLocation()
Description copied from interface:Locatable
Returns the location associated with this object for error reporting purposes.- Specified by:
getLocation
in interfaceLocatable
-
getFormalParameterNames
public Set<String> getFormalParameterNames()
-
-