Class AttributeExpansionBinding
- java.lang.Object
-
- org.apache.tapestry5.ioc.BaseLocatable
-
- org.apache.tapestry5.internal.bindings.AbstractBinding
-
- org.apache.tapestry5.internal.services.AttributeExpansionBinding
-
- All Implemented Interfaces:
Binding,Binding2,AnnotationProvider,Locatable
public class AttributeExpansionBinding extends AbstractBinding
Wraps aStringProvideras a read-onlyBinding.
-
-
Constructor Summary
Constructors Constructor Description AttributeExpansionBinding(Location location, StringProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget()Reads the current value of the property (or other resource).booleanisInvariant()Returns false.-
Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBinding
getAnnotation, getBindingGenericType, getBindingType, set
-
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
-
-
-
-
Constructor Detail
-
AttributeExpansionBinding
public AttributeExpansionBinding(Location location, StringProvider provider)
-
-
Method Detail
-
get
public java.lang.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.
-
isInvariant
public boolean isInvariant()
Returns false. Expansions reference properties that may change arbitrarily.- Specified by:
isInvariantin interfaceBinding- Overrides:
isInvariantin classAbstractBinding
-
-