qat.parser.qaxmlparser
Class QAXMLExpression

java.lang.Object
  extended byqat.parser.qaxmlparser.QAXMLExpression

public class QAXMLExpression
extends java.lang.Object


Method Summary
static void main(java.lang.String[] args)
           
static java.lang.StringBuffer removeVariableBraces(java.lang.StringBuffer expression)
          Takes an expressionof the form "${xxx}" and returns "xxx".
static java.lang.StringBuffer resolveVariable(java.lang.StringBuffer expression, java.util.Properties properties)
          Will resolve variables such as "${var1${var2}}" with the actual * values referenced if available, else exception will be thrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveVariable

public static java.lang.StringBuffer resolveVariable(java.lang.StringBuffer expression,
                                                     java.util.Properties properties)
                                              throws java.lang.Exception
Will resolve variables such as "${var1${var2}}" with the actual * values referenced if available, else exception will be thrown. * Nested variables are allowed. * e.g. ${var1${var2}}

Throws:
java.lang.Exception

removeVariableBraces

public static java.lang.StringBuffer removeVariableBraces(java.lang.StringBuffer expression)
Takes an expressionof the form "${xxx}" and returns "xxx".


main

public static final void main(java.lang.String[] args)


See QAT project for licensing details