com.gargoylesoftware.htmlunit.html.xpath
Class IsDescendantOfContextualFormFunction

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

Deprecated. since HtmlUnit-2.8 without replacement as there is no internal usage for this classe.

@Deprecated
public class IsDescendantOfContextualFormFunction
extends org.apache.xpath.functions.FunctionDef1Arg

An XPath function which returns true if the current node is a descendant of the node used as the initial XPath context. In addition, if the node used as the initial XPath context was an HtmlForm instance, this function considers lost children to be descendants of the form, even if they aren't really descendants from a DOM point of view.

Version:
$Revision: 5798 $
Author:
Daniel Gredler
See Also:
Serialized Form

Constructor Summary
IsDescendantOfContextualFormFunction()
          Deprecated.  
 
Method Summary
 org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext ctx)
          Deprecated. 
 
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

IsDescendantOfContextualFormFunction

public IsDescendantOfContextualFormFunction()
Deprecated. 
Method Detail

execute

public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext ctx)
                                         throws TransformerException
Deprecated. 

Overrides:
execute in class org.apache.xpath.functions.Function
Throws:
TransformerException


Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.