Class FuncContains
java.lang.Object
org.htmlunit.xpath.Expression
org.htmlunit.xpath.functions.Function
org.htmlunit.xpath.functions.FunctionOneArg
org.htmlunit.xpath.functions.Function2Args
org.htmlunit.xpath.functions.FuncContains
- All Implemented Interfaces:
SourceLocator, ExpressionNode, XPathVisitable
Execute the Contains() function.
-
Field Summary
Fields inherited from class Function2Args
m_arg1Fields inherited from class FunctionOneArg
m_arg0 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(XPathContext xctxt) Execute an expression in the XPath runtime context, and return the result of the expression.Methods inherited from class Function2Args
callArgVisitors, canTraverseOutsideSubtree, checkNumberArgs, deepEquals, reportWrongNumberArgs, setArgMethods inherited from class Function
callVisitors, postCompileStepMethods inherited from class Expression
asIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
Constructor Details
-
FuncContains
public FuncContains()
-
-
Method Details
-
execute
Execute an expression in the XPath runtime context, and return the result of the expression.- Overrides:
executein classFunction- Parameters:
xctxt- The XPath runtime context.- Returns:
- The result of the expression in the form of a
XObject. - Throws:
TransformerException- if a runtime exception occurs.
-