Class RenderVariableBinding
- java.lang.Object
- 
- org.apache.tapestry5.ioc.BaseLocatable
- 
- org.apache.tapestry5.internal.bindings.AbstractBinding
- 
- org.apache.tapestry5.internal.bindings.RenderVariableBinding
 
 
 
- 
- All Implemented Interfaces:
- Binding,- Binding2,- AnnotationProvider,- Locatable
 
 public class RenderVariableBinding extends AbstractBinding 
- 
- 
Constructor SummaryConstructors Constructor Description RenderVariableBinding(Location location, String description, ComponentResources resources, String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget()Reads the current value of the property (or other resource).ClassgetBindingType()Always returns Object since we don't (statically) know the type of object.booleanisInvariant()Returns false, render variables are always variable.voidset(Object value)Updates the current value.StringtoString()- 
Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBindinggetAnnotation, getBindingGenericType
 - 
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatablegetLocation
 
- 
 
- 
- 
- 
Constructor Detail- 
RenderVariableBindingpublic RenderVariableBinding(Location location, String description, ComponentResources resources, String name) 
 
- 
 - 
Method Detail- 
setpublic void set(Object value) Description copied from interface:BindingUpdates the current value. Most types of bindings are read-only, and this method will throw a runtime exception. It is the caller's responsibility to ensure that the value passed in is of the appropriate type.- Specified by:
- setin interface- Binding
- Overrides:
- setin class- AbstractBinding
 
 - 
isInvariantpublic boolean isInvariant() Returns false, render variables are always variable.- Specified by:
- isInvariantin interface- Binding
- Overrides:
- isInvariantin class- AbstractBinding
 
 - 
getpublic Object get() Description copied from interface:BindingReads the current value of the property (or other resource). When reading properties of objects that are primitive types, this will return an instance of the wrapper type. In some cases, a binding is read only and this method will throw a runtime exception.
 - 
getBindingTypepublic Class getBindingType() Always returns Object since we don't (statically) know the type of object.- Specified by:
- getBindingTypein interface- Binding
- Overrides:
- getBindingTypein class- AbstractBinding
 
 
- 
 
-