Package net.sourceforge.pmd.lang.xpath
Class MatchesFunction
- java.lang.Object
-
- net.sourceforge.pmd.lang.xpath.MatchesFunction
-
- All Implemented Interfaces:
org.jaxen.Function
public class MatchesFunction extends java.lang.Object implements org.jaxen.Function
-
-
Constructor Summary
Constructors Constructor Description MatchesFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call(org.jaxen.Context context, java.util.List args)
static boolean
matches(java.lang.String s, java.lang.String... patterns)
static void
registerSelfInSimpleContext()
-
-
-
Method Detail
-
registerSelfInSimpleContext
public static void registerSelfInSimpleContext()
-
call
public java.lang.Object call(org.jaxen.Context context, java.util.List args) throws org.jaxen.FunctionCallException
- Specified by:
call
in interfaceorg.jaxen.Function
- Throws:
org.jaxen.FunctionCallException
-
matches
public static boolean matches(java.lang.String s, java.lang.String... patterns)
-
-