xmlBlaster 2.2.0 API

org.xmlBlaster.engine.mime.xpath
Class ContainsIgnoreCaseFunction

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

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

Jaxen XPath extension function: contains-ignore-case(str, match).

XPATH contains function that ignores case. Example:

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

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

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

Constructor Detail

ContainsIgnoreCaseFunction

public ContainsIgnoreCaseFunction()
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.Boolean evaluate(java.lang.Object strArg,
                                         java.lang.Object matchArg,
                                         org.jaxen.Navigator nav)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.