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
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
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(String value)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.