org.hibernate.validator.internal.engine.messageinterpolation
Class InterpolationTerm

java.lang.Object
  extended by org.hibernate.validator.internal.engine.messageinterpolation.InterpolationTerm

public class InterpolationTerm
extends Object

Helper class dealing with the interpolation of a single message parameter or expression extracted from a message descriptor.

Author:
Hardy Ferentschik

Constructor Summary
InterpolationTerm(String expression, Locale locale)
           
 
Method Summary
 String interpolate(MessageInterpolator.Context context)
           
 boolean needsEvaluation()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterpolationTerm

public InterpolationTerm(String expression,
                         Locale locale)
Method Detail

needsEvaluation

public boolean needsEvaluation()

interpolate

public String interpolate(MessageInterpolator.Context context)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved