org.jboss.boot.servlets
Class Util

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

public class Util
extends java.lang.Object

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


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String replaceVariables(org.apache.xalan.extensions.ExpressionContext ctx, java.lang.String text)
          This function replaces all occurrences of variable references ${...} with the corresponding XSL variable.
static void setVariableRE(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(RE variableRE)

replaceVariables

public static java.lang.String replaceVariables(org.apache.xalan.extensions.ExpressionContext ctx,
                                                java.lang.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.