站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

Util (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.boot.servlets
Class Util

java.lang.Object
  extended byorg.jboss.boot.servlets.Util

public class Util
extends Object

A utility class that implements a xalan XSLT extension function used by the default.xsl transformation document.

Version:
$revision:$
Author:
Scott.Stark@jboss.org

Constructor Summary
Util()
           
 
Method Summary
static String replaceVariables(org.apache.xalan.extensions.ExpressionContext ctx, String text)
          This function replaces all occurrences of variable references ${...} with the corresponding XSL variable.
static void setVariableRE(gnu.regexp.RE variableRE)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

setVariableRE

public static void setVariableRE(gnu.regexp.RE variableRE)

replaceVariables

public static String replaceVariables(org.apache.xalan.extensions.ExpressionContext ctx,
                                      String text)
This function replaces all occurrences of variable references ${...} with the corresponding XSL variable. If no such variable is defined the variable is replaced with an empty string.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.