public class NameMatchesFunction extends FunctionBase<java.util.regex.Pattern>
ShallowEntity
's name against a set of
regular expressions.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
The function's name.
|
Constructor and Description |
---|
NameMatchesFunction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkNode(ShallowEntity node,
java.util.regex.Pattern arguments)
Checks if the given node should be kept in the node set.
|
protected java.util.regex.Pattern |
parseArguments(java.util.List<?> args)
Converts the input arguments.
|
call
public static final java.lang.String NAME
public NameMatchesFunction()
protected java.util.regex.Pattern parseArguments(java.util.List<?> args) throws org.jaxen.FunctionCallException
parseArguments
in class FunctionBase<java.util.regex.Pattern>
org.jaxen.FunctionCallException
protected boolean checkNode(ShallowEntity node, java.util.regex.Pattern arguments)
checkNode
in class FunctionBase<java.util.regex.Pattern>