com.novell.xml.xpath.functions
Class xpathTranslate
java.lang.Object
com.novell.xml.xpath.Function
com.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xpathTranslate
public xpathTranslate()
- Construct an object for the translate() function
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