org.apache.tapestry.spec
Class ListenerBindingSpecification

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.spec.BindingSpecification
          extended by org.apache.tapestry.spec.ListenerBindingSpecification
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, 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
Author:
Howard Lewis Ship

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

Field Detail

_language

protected java.lang.String _language
Constructor Detail

ListenerBindingSpecification

public ListenerBindingSpecification()
Method Detail

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface IListenerBindingSpecification

getScript

public java.lang.String getScript()
Specified by:
getScript in interface IListenerBindingSpecification

setLanguage

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