org.equanda.t5gui.bindings
Class EquandaMessageBinding

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

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

Equanda Message Binding

Author:
Vladimir Tkachenko

Constructor Summary
EquandaMessageBinding(org.apache.tapestry5.ComponentResources componentResources, String expression, org.apache.tapestry5.ioc.Location location, EquandaMessagesSource messagesSource)
          Creates Equanda Message 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

EquandaMessageBinding

public EquandaMessageBinding(org.apache.tapestry5.ComponentResources componentResources,
                             String expression,
                             org.apache.tapestry5.ioc.Location location,
                             EquandaMessagesSource messagesSource)
Creates Equanda Message 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.