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, getBindingGenericType, getBindingType, isInvariant, setgetLocationpublic LiteralBinding(Location location, String description, Object value)
public Object get()
Binding${project.version} - Copyright © 2003-2014 The Apache Software Foundation.