com.canoo.webtest.engine.xpath
Class CleanTextFunction

java.lang.Object
  extended by org.apache.xpath.Expression
      extended by org.apache.xpath.functions.Function
          extended by org.apache.xpath.functions.FunctionOneArg
              extended by org.apache.xpath.functions.FunctionDef1Arg
                  extended by com.canoo.webtest.engine.xpath.CleanTextFunction
All Implemented Interfaces:
Serializable, SourceLocator, org.apache.xpath.ExpressionNode, org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitable

public class CleanTextFunction
extends org.apache.xpath.functions.FunctionDef1Arg

Utility function performing following operations on the text:

This function is available under the name "wt:cleanText".

Author:
Marc Guillemot
See Also:
Serialized Form

Constructor Summary
CleanTextFunction()
           
 
Method Summary
 org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext xctxt)
           
 
Methods inherited from class org.apache.xpath.functions.FunctionDef1Arg
Arg0IsNodesetExpr, canTraverseOutsideSubtree, checkNumberArgs, getArg0AsNode, getArg0AsNumber, getArg0AsString, reportWrongNumberArgs
 
Methods inherited from class org.apache.xpath.functions.FunctionOneArg
callArgVisitors, deepEquals, fixupVariables, getArg0, getExpression, setArg, setExpression
 
Methods inherited from class org.apache.xpath.functions.Function
callVisitors, postCompileStep
 
Methods inherited from class org.apache.xpath.Expression
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanTextFunction

public CleanTextFunction()
Method Detail

execute

public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext xctxt)
                                         throws TransformerException
Overrides:
execute in class org.apache.xpath.functions.Function
Throws:
TransformerException

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.