com.gargoylesoftware.htmlunit.html.xpath
Class LowerCaseFunction

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.gargoylesoftware.htmlunit.html.xpath.LowerCaseFunction
All Implemented Interfaces:
Serializable, SourceLocator, org.apache.xpath.ExpressionNode, org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitable

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

Custom XPath function to convert the argument to lower case (using the default locale as in String.toLowerCase().

Version:
$Revision: 5301 $
Author:
Marc Guillemot, Ahmed Ashour
See Also:
Serialized Form

Constructor Summary
LowerCaseFunction()
           
 
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

LowerCaseFunction

public LowerCaseFunction()
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 © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.