|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.pageload.EmbeddedComponentAssemblerImpl
public class EmbeddedComponentAssemblerImpl
Constructor Summary | |
---|---|
EmbeddedComponentAssemblerImpl(ComponentAssemblerSource assemblerSource,
ComponentInstantiatorSource instantiatorSource,
ComponentClassResolver componentClassResolver,
String componentClassName,
ComponentResourceSelector selector,
EmbeddedComponentModel embeddedModel,
String templateMixins,
Location location)
|
Method Summary | |
---|---|
int |
addMixinsToElement(ComponentPageElement newElement)
Adds mixins to the newly created embedded element. |
org.apache.tapestry5.internal.pageload.ParameterBinder |
createParameterBinder(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. |
Set<String> |
getFormalParameterNames()
Returns the names of all formal parameters. |
Location |
getLocation()
Returns the location associated with this object for error reporting purposes. |
boolean |
isBound(String parameterName)
Checks to see if the parameter name has been bound. |
void |
setBound(String parameterName)
Marks the parameter name as bound. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedComponentAssemblerImpl(ComponentAssemblerSource assemblerSource, ComponentInstantiatorSource instantiatorSource, ComponentClassResolver componentClassResolver, String componentClassName, ComponentResourceSelector selector, EmbeddedComponentModel embeddedModel, String templateMixins, Location location)
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 templateMethod Detail |
---|
public org.apache.tapestry5.internal.pageload.ComponentAssembler getComponentAssembler()
public org.apache.tapestry5.internal.pageload.ParameterBinder createParameterBinder(String qualifiedParameterName)
qualifiedParameterName
- simple or qualified parameter name
public boolean isBound(String parameterName)
public void setBound(String parameterName)
Component
annotation (even inherited bindings).
public int addMixinsToElement(ComponentPageElement newElement)
newElement
- new element requiring mixins
public Location getLocation()
Locatable
public Set<String> getFormalParameterNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |