public class LiteralBinding extends AbstractBinding
LiteralBindings are often used for literal string values supplied in-line in the component template, but is used for many other things as well, any kind of fixed, read-only value.
Constructor and Description |
---|
LiteralBinding(Location location,
String description,
Object value) |
Modifier and Type | Method and Description |
---|---|
Object |
get()
Reads the current value of the property (or other resource).
|
String |
toString() |
getAnnotation, getBindingType, isInvariant, set
getLocation
public LiteralBinding(Location location, String description, Object value)
public Object get()
Binding
Copyright © 2003-2012 The Apache Software Foundation.