org.equanda.t5gui.bindings
Class HasEquandaMessageBinding

java.lang.Object
  extended by org.apache.tapestry5.ioc.BaseLocatable
      extended by org.equanda.t5gui.bindings.HasEquandaMessageBinding
All Implemented Interfaces:
org.apache.tapestry5.Binding, org.apache.tapestry5.ioc.AnnotationProvider, org.apache.tapestry5.ioc.Locatable

public class HasEquandaMessageBinding
extends org.apache.tapestry5.ioc.BaseLocatable
implements org.apache.tapestry5.Binding

Figure out if there is a message for a string

Author:
Joachim Van der Auwera

Constructor Summary
HasEquandaMessageBinding(org.apache.tapestry5.ComponentResources componentResources, String expression, org.apache.tapestry5.ioc.Location location, EquandaMessagesSource messagesSource)
          Creates HasEquandaMessage Binding
 
Method Summary
 Object get()
          Gets translated message
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 Class getBindingType()
           
 boolean isInvariant()
           
 void set(Object value)
           
 
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasEquandaMessageBinding

public HasEquandaMessageBinding(org.apache.tapestry5.ComponentResources componentResources,
                                String expression,
                                org.apache.tapestry5.ioc.Location location,
                                EquandaMessagesSource messagesSource)
Creates HasEquandaMessage Binding

Parameters:
componentResources - component resources
expression - message expression
location - location
messagesSource - equanda message source
Method Detail

get

public Object get()
Gets translated message

Specified by:
get in interface org.apache.tapestry5.Binding

getBindingType

public Class getBindingType()
Specified by:
getBindingType in interface org.apache.tapestry5.Binding

isInvariant

public boolean isInvariant()
Specified by:
isInvariant in interface org.apache.tapestry5.Binding

set

public void set(Object value)
Specified by:
set in interface org.apache.tapestry5.Binding

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Specified by:
getAnnotation in interface org.apache.tapestry5.ioc.AnnotationProvider


Copyright © 2007-2009. All Rights Reserved.