
Returns a query expression that represents a matching constraint on
a string argument. The matching syntax is consistent with file globbing:
supports "
?", "
*", "
[",
each of which may be escaped with "
\";
character classes may use "
!" for negation and
"
-" for range.
(
* for any character sequence,
? for a single arbitrary character,
[...] for a character sequence).
For example:
a*b?c would match a string starting
with the character
a, followed
by any number of characters, followed by a
b,
any single character, and a
c.
Returns:
A query expression that represents the matching
constraint on the string argument. The returned object will
be serialized as an instance of the non-public class {@link
javax.management.MatchQueryExp}.
Parameters:
-
a - An attribute expression
-
s - A string value expression representing a matching constraint