public class AssetBinding extends AbstractBinding
Constructor and Description |
---|
AssetBinding(Location location,
java.lang.String description,
Asset asset) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get()
Reads the current value of the property (or other resource).
|
java.lang.Class |
getBindingType()
Returns the actual class, by invoking
Binding.get() . |
java.lang.String |
toString() |
getAnnotation, getBindingGenericType, isInvariant, set
getLocation
public AssetBinding(Location location, java.lang.String description, Asset asset)
public java.lang.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 java.lang.Object get()
Binding
public java.lang.String toString()
toString
in class java.lang.Object
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.