com.novell.xml.xpath.functions
Class xpathTranslate

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.novell.xml.xpath.functions.xpathTranslate

public class xpathTranslate
extends Function

This class implements the XPath translate(string,string,string) built-in function


Constructor Summary
xpathTranslate()
          Construct an object for the translate() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform translate() function
 
Methods inherited from class com.novell.xml.xpath.Function
getInstance, getSignature, isConstant, registerForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

xpathTranslate

public xpathTranslate()
Construct an object for the translate() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform translate() function

Overrides:
invoke in class Function
Parameters:
args - List of arguments. Three required string arguments Replaces occurances in the first string of characters in the second string with positionally corresponding characters from the third string
Returns:
The result string
Throws:
XPathEvaluationException