org.apache.tapestry.spec
Interface IBindingSpecification
- All Superinterfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
- All Known Implementing Classes:
- BindingSpecification
public interface IBindingSpecification
- extends org.apache.hivemind.LocationHolder, org.apache.hivemind.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
Method Summary |
BindingType |
getType()
Returns the type of binding specification; this is generally
BindingType.PREFIXED . |
java.lang.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. |
void |
setType(BindingType type)
|
void |
setValue(java.lang.String value)
|
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
getType
BindingType getType()
- Returns the type of binding specification; this is generally
BindingType.PREFIXED
.
getValue
java.lang.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 IBinding
instance.
setType
void setType(BindingType type)
setValue
void setValue(java.lang.String value)