站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 cr1 API 英文版文档

Interpolator (JBoss Seam API Documentation) - JBoss Seam 1.1.0 cr1 API 英文版文档


org.jboss.seam.core
Class Interpolator

java.lang.Object
  extended by org.jboss.seam.core.Interpolator

@Intercept(value=NEVER)
@Scope(value=STATELESS)
@Name(value="org.jboss.seam.core.interpolator")
public class Interpolator
extends Object

Interpolates EL expressions in Strings

Author:
Gavin King

Constructor Summary
Interpolator()
           
 
Method Summary
static Interpolator instance()
           
 String interpolate(String string, Object... params)
          Replace all EL expressions in the form #{...} with their evaluated values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolator

public Interpolator()
Method Detail

instance

public static Interpolator instance()

interpolate

public String interpolate(String string,
                          Object... params)
Replace all EL expressions in the form #{...} with their evaluated values.

Parameters:
string - a template
Returns:
the interpolated string