Package | Description |
---|---|
org.apache.tapestry |
Tapestry is a comprehensive web application framework, written in Java.
|
org.apache.tapestry.bean |
Contains useful helper beans, an implementation of
the
IBeanProvider interface, and
several interfaces and classes related to initializing helper beans. |
org.apache.tapestry.binding |
Implementations of
IBinding . |
org.apache.tapestry.components |
Basic, fundamental components used to construct more complex components, or pages.
|
org.apache.tapestry.enhance |
Classes used for performing dynamic bytecode enhancement of component and page classes.
|
org.apache.tapestry.form.translator | |
org.apache.tapestry.form.validator | |
org.apache.tapestry.services.impl | |
org.apache.tapestry.valid |
Components and classes that provide specialized, validating text fields.
|
Modifier and Type | Method and Description |
---|---|
IBinding |
BindingException.getBinding() |
IBinding |
AbstractComponent.getBinding(java.lang.String name)
Returns the named binding, or null if it doesn't exist.
|
IBinding |
IComponent.getBinding(java.lang.String name)
Returns the binding with the given name or null if not found.
|
Modifier and Type | Method and Description |
---|---|
static BindingException |
Tapestry.createNullBindingException(IBinding binding)
Creates an exception indicating the binding value is null.
|
void |
AbstractComponent.setBinding(java.lang.String name,
IBinding binding)
Adds the binding with the given name, replacing any existing binding with that name.
|
void |
IComponent.setBinding(java.lang.String name,
IBinding binding)
Adds a binding to a container.
|
Constructor and Description |
---|
BindingException(java.lang.String message,
IBinding binding) |
BindingException(java.lang.String message,
IBinding binding,
java.lang.Throwable rootCause) |
BindingException(java.lang.String message,
java.lang.Object component,
org.apache.hivemind.Location location,
IBinding binding,
java.lang.Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
IBinding |
Default.getBinding() |
Modifier and Type | Method and Description |
---|---|
void |
Default.setBinding(IBinding value) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinding
Base class for
IBinding implementations. |
class |
AssetBinding
A binding that is connected to an asset provided by a component.
|
class |
BeanBinding
Binding whose value is a named bean provided by a component.
|
class |
ComponentBinding
A binding where the path is the id of a child component.
|
class |
ExpressionBinding
Implements a dynamic binding, based on evaluating an expression using an expression language.
|
class |
HiveMindBinding
A binding that accesses a HiveMind object.
|
class |
ListenerMethodBinding |
class |
LiteralBinding
Stores a static (invariant) string as the value.
|
class |
MessageBinding
A binding that connects directly to a localized string for a component.
|
class |
StateBinding
Binding used to efficiently query whether an application state object (visit, global and friends)
exists without actually creating it (or creating a session).
|
Modifier and Type | Method and Description |
---|---|
IBinding |
AssetBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
BeanBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
BindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location)
Creates a new binding instance.
|
IBinding |
ComponentBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
HiveMindBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
ListenerBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
LiteralBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
MessageBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
OGNLBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
StateBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
BindingSource.createBinding(IComponent component,
java.lang.String description,
java.lang.String reference,
java.lang.String defaultBindingType,
org.apache.hivemind.Location location)
Creates a new binding.
|
Modifier and Type | Method and Description |
---|---|
protected BindingException |
AbstractBinding.createReadOnlyBindingException(IBinding binding) |
Modifier and Type | Method and Description |
---|---|
abstract IBinding |
IfBean.getConditionValueBinding() |
Modifier and Type | Method and Description |
---|---|
IBinding |
InitialValueBindingCreator.createBinding(IComponent component) |
Modifier and Type | Method and Description |
---|---|
static boolean |
EnhanceUtils.toBoolean(IBinding binding) |
static byte |
EnhanceUtils.toByte(IBinding binding) |
static char |
EnhanceUtils.toChar(IBinding binding) |
static double |
EnhanceUtils.toDouble(IBinding binding) |
static float |
EnhanceUtils.toFloat(IBinding binding) |
static int |
EnhanceUtils.toInt(IBinding binding) |
static long |
EnhanceUtils.toLong(IBinding binding) |
static short |
EnhanceUtils.toShort(IBinding binding) |
Modifier and Type | Class and Description |
---|---|
class |
TranslatorBinding
Implementation of
IBinding that wraps around a
Translator . |
Modifier and Type | Method and Description |
---|---|
IBinding |
TranslatorBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ValidatorsBinding
Binding used to hold a list of
Validator s. |
Modifier and Type | Method and Description |
---|---|
IBinding |
ValidatorsBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location) |
Modifier and Type | Method and Description |
---|---|
IBinding |
BindingSourceImpl.createBinding(IComponent component,
java.lang.String bindingDescription,
java.lang.String reference,
java.lang.String defaultPrefix,
org.apache.hivemind.Location location) |
Modifier and Type | Class and Description |
---|---|
class |
ValidatorBinding
Implementation of
IBinding that provides IValidator
instances based on a validator bean descriptor. |
Modifier and Type | Method and Description |
---|---|
IBinding |
ValidatorBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location)
Creates and returns a
ValidatorBinding . |