xmlBlaster 2.2.0 API

org.xmlBlaster.engine.mime.xpath
Class RecursiveTextFunction

java.lang.Object
  extended by org.xmlBlaster.engine.mime.xpath.RecursiveTextFunction
All Implemented Interfaces:
org.jaxen.Function

public class RecursiveTextFunction
extends java.lang.Object
implements org.jaxen.Function

Jaxen XPath extension function: recursive-text(node)

Recursivly concat and return all descending text nodes of the node. Mat for example be used with ContainsIgnoreCaseFunction:

 contains-ignore-case(recursive-text(//body.content), 'XmlBlaster')
 

Version:
$Id: RecursiveTextFunction.java 12937 2004-11-24 20:15:11Z ruff $
Author:
Jens Askengren

Constructor Summary
RecursiveTextFunction()
           
 
Method Summary
 java.lang.Object call(org.jaxen.Context context, java.util.List args)
           
static java.lang.String evaluate(java.lang.Object strArg, org.jaxen.Navigator nav)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecursiveTextFunction

public RecursiveTextFunction()
Method Detail

call

public java.lang.Object call(org.jaxen.Context context,
                             java.util.List args)
                      throws org.jaxen.FunctionCallException
Specified by:
call in interface org.jaxen.Function
Throws:
org.jaxen.FunctionCallException

evaluate

public static java.lang.String evaluate(java.lang.Object strArg,
                                        org.jaxen.Navigator nav)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.