org.apache.tapestry.spec
Class BindingSpecification

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.spec.BindingSpecification
All Implemented Interfaces:
ILocatable, ILocationHolder, IBindingSpecification
Direct Known Subclasses:
ListenerBindingSpecification

public class BindingSpecification
extends BaseLocatable
implements IBindingSpecification

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.

Version:
$Id: BindingSpecification.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
BindingSpecification()
           
 
Method Summary
 BindingType getType()
           
 String getValue()
           
 void setType(BindingType type)
           
 void setValue(String value)
           
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

BindingSpecification

public BindingSpecification()
Method Detail

getType

public BindingType getType()
Specified by:
getType in interface IBindingSpecification

getValue

public String getValue()
Specified by:
getValue in interface IBindingSpecification

setType

public void setType(BindingType type)
Specified by:
setType in interface IBindingSpecification

setValue

public void setValue(String value)
Specified by:
setValue in interface IBindingSpecification