|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.util.BasePropertyHolder
org.apache.tapestry.spec.LocatablePropertyHolder
org.apache.tapestry.spec.ContainedComponent
public class ContainedComponent
Defines a contained component. This includes the information needed to get the contained component's specification, as well as any bindings for the component.
Field Summary | |
---|---|
protected Map |
_bindings
|
Constructor Summary | |
---|---|
ContainedComponent()
|
Method Summary | |
---|---|
IBindingSpecification |
getBinding(String name)
Returns the named binding, or null if the binding does not exist. |
Collection |
getBindingNames()
Returns an umodifiable Collection of Strings, each the name of one binding for
the component. |
String |
getCopyOf()
Returns the id of the component being copied from. |
boolean |
getInheritInformalParameters()
Returns whether the contained component will inherit the informal parameters of its parent. |
String |
getPropertyName()
Returns the name of the property to be created for this component, or null if no property should be created. |
String |
getType()
|
void |
setBinding(String name,
IBindingSpecification spec)
|
void |
setCopyOf(String id)
Sets the String Id of the component being copied from. |
void |
setInheritInformalParameters(boolean value)
Sets whether the contained component will inherit the informal parameters of its parent. |
void |
setPropertyName(String propertyName)
|
void |
setType(String value)
|
Methods inherited from class org.apache.tapestry.spec.LocatablePropertyHolder |
---|
getLocation, setLocation |
Methods inherited from class org.apache.tapestry.util.BasePropertyHolder |
---|
getProperty, getPropertyNames, removeProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.util.IPropertyHolder |
---|
getProperty, getPropertyNames, removeProperty, setProperty |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Field Detail |
---|
protected Map _bindings
Constructor Detail |
---|
public ContainedComponent()
Method Detail |
---|
public IBindingSpecification getBinding(String name)
getBinding
in interface IContainedComponent
public Collection getBindingNames()
Collection
of Strings, each the name of one binding for
the component.
getBindingNames
in interface IContainedComponent
public String getType()
getType
in interface IContainedComponent
public void setBinding(String name, IBindingSpecification spec)
setBinding
in interface IContainedComponent
public void setType(String value)
setType
in interface IContainedComponent
public void setCopyOf(String id)
setCopyOf
in interface IContainedComponent
public String getCopyOf()
getCopyOf
in interface IContainedComponent
public boolean getInheritInformalParameters()
getInheritInformalParameters
in interface IContainedComponent
public void setInheritInformalParameters(boolean value)
setInheritInformalParameters
in interface IContainedComponent
public String getPropertyName()
IContainedComponent
getPropertyName
in interface IContainedComponent
getPropertyName
in interface PropertyInjectable
public void setPropertyName(String propertyName)
setPropertyName
in interface IContainedComponent
setPropertyName
in interface PropertyInjectable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |