public abstract class AbstractBinding extends BaseLocatable implements Binding
Binding.get()
.Modifier | Constructor and Description |
---|---|
|
AbstractBinding() |
protected |
AbstractBinding(Location location) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
Always returns null.
|
Class |
getBindingType()
Returns the actual class, by invoking
Binding.get() . |
boolean |
isInvariant()
Returns true.
|
void |
set(Object value)
Updates the current value.
|
getLocation
public AbstractBinding()
protected AbstractBinding(Location location)
public void set(Object value)
Binding
set
in interface Binding
TapestryException
- alwayspublic boolean isInvariant()
isInvariant
in interface Binding
public Class getBindingType()
Binding.get()
. Subclasses may override this method to work more
efficiently (say, when the binding type is known statically).getBindingType
in interface Binding
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface AnnotationProvider
annotationClass
- used to select the annotation to returnCopyright © 2003-2012 The Apache Software Foundation.