org.apache.tapestry.spec
Interface IBindingSpecification
- All Superinterfaces:
- Locatable, LocationHolder
- All Known Implementing Classes:
- BindingSpecification
public interface IBindingSpecification
- extends LocationHolder, Locatable
Stores a binding specification, which identifies the static value or OGNL
expression for the binding. The name of the binding (which matches a bindable
property of the contined component) is implicitly known.
- Author:
- glongman@intelligentworks.com
getType
BindingType getType()
- Returns the type of binding specification; this is generally
BindingType.PREFIXED.
getValue
String getValue()
- For a prefixed binding specification (the typical type), the value is a
binding reference; a string used to contruct the actual binding, and
consists of a prefix (such as "ognl:" or "message:") and a locator. The
prefix selects a
BindingFactory, and
the locator is passed to the factory, which uses it to construct the
IBindinginstance.
setType
void setType(BindingType type)
setValue
void setValue(String value)
Copyright © 2006 Apache Software Foundation. All Rights Reserved.