Class AssetBinding
- java.lang.Object
- 
- org.apache.tapestry5.ioc.BaseLocatable
- 
- org.apache.tapestry5.internal.bindings.AbstractBinding
- 
- org.apache.tapestry5.internal.bindings.AssetBinding
 
 
 
- 
- All Implemented Interfaces:
- Binding,- Binding2,- AnnotationProvider,- Locatable
 
 public class AssetBinding extends AbstractBinding 
- 
- 
Constructor SummaryConstructors Constructor Description AssetBinding(Location location, String description, Asset asset)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget()Reads the current value of the property (or other resource).ClassgetBindingType()Returns the actual class, by invokingBinding.get().StringtoString()- 
Methods inherited from class org.apache.tapestry5.internal.bindings.AbstractBindinggetAnnotation, getBindingGenericType, isInvariant, set
 - 
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatablegetLocation
 
- 
 
- 
- 
- 
Constructor Detail- 
AssetBindingpublic AssetBinding(Location location, String description, Asset asset) 
 
- 
 - 
Method Detail- 
getBindingTypepublic Class getBindingType() Description copied from class:AbstractBindingReturns the actual class, by invokingBinding.get(). Subclasses may override this method to work more efficiently (say, when the binding type is known statically).- Specified by:
- getBindingTypein interface- Binding
- Overrides:
- getBindingTypein 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.
 
- 
 
-