public class AssetBinding extends AbstractBinding
Constructor and Description |
---|
AssetBinding(Location location,
String description,
Asset asset) |
Modifier and Type | Method and Description |
---|---|
Object |
get()
Reads the current value of the property (or other resource).
|
Class |
getBindingType()
Returns the actual class, by invoking
Binding.get() . |
String |
toString() |
getAnnotation, getBindingGenericType, isInvariant, set
getLocation
public AssetBinding(Location location, String description, Asset asset)
public Class getBindingType()
AbstractBinding
Binding.get()
. Subclasses may override this method to work more
efficiently (say, when the binding type is known statically).getBindingType
in interface Binding
getBindingType
in class AbstractBinding
public Object get()
Binding
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.