当前页面:
在线文档首页 >
JBoss Seam 1.2.0 API 英文版文档
Interpolator (JBoss Seam API Documentation) - JBoss Seam 1.2.0 API 英文版文档
org.jboss.seam.core
Class Interpolator
java.lang.Object
org.jboss.seam.core.Interpolator
@Intercept(value=NEVER)
@Scope(value=STATELESS)
@Name(value="org.jboss.seam.core.interpolator")
@Install(precedence=0)
public class Interpolator
- extends Object
Interpolates EL expressions in Strings
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Interpolator
public Interpolator()
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