org.apache.tapestry.spec
Class ListenerBindingSpecification

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

public class ListenerBindingSpecification
extends BindingSpecification
implements IListenerBindingSpecification

Special subclass of BindingSpecification used to encapsulate the additional information specific to listener bindings. In a ListenerBindingSpecification, the value property is the actual script (and is aliased as property script), but an additional property, language, (which may be null) is needed. This is the language the script is written in.

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

Field Summary
protected  String _language
           
 
Constructor Summary
ListenerBindingSpecification()
           
 
Method Summary
 String getLanguage()
           
 String getScript()
           
 void setLanguage(String language)
           
 
Methods inherited from class org.apache.tapestry.spec.BindingSpecification
getType, getValue, setType, setValue
 
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.spec.IBindingSpecification
getType, getValue, setType, setValue
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

_language

protected String _language
Constructor Detail

ListenerBindingSpecification

public ListenerBindingSpecification()
Method Detail

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface IListenerBindingSpecification

getScript

public String getScript()
Specified by:
getScript in interface IListenerBindingSpecification

setLanguage

public void setLanguage(String language)
Specified by:
setLanguage in interface IListenerBindingSpecification