Matcher implementations that can be used with the
QueryBuilder#filter(Matcher) method.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < type of the object to be matched T> Matcher | |
| public static < type of the object to be matched T> Matcher | |
| public static Matcher | Returns: aContextElement matchera matcher)Map (attributes) matcherReturns a matcher that matches context elements whose |
| public static Matcher | Returns: aTreeNode matcherContextElement matcherReturns a matcher that matches tree nodes whose |
| public static Matcher | Returns: aMap<String, Object> matcherattribute name key, final Object attribute value value)Returns a matcher that matches attribute maps that include the given attribute entry. |
| public static Matcher | Returns: aMap<String, Object> matcherattribute name key, final Matcher<? extends Object> attribute value matcher value)Returns a matcher that matches attribute maps the include an attribute with the given name, and whose value matches the given matcher. |
| public static Matcher | Returns: aContextElement matcherClass<?> matcherReturns a matcher that matches context elements whose |
| public static <T> Matcher | |
| public static Matcher | Returns: aClass<?> matchera potential super-type klazz)Returns a matcher that matches classes that are sub-types of the supplied class. |
| Matchers | back to summary |
|---|---|
| private Matchers() | |
| allOf | back to summary |
|---|---|
| public static <T> Matcher Returns a matcher that matches when against objects which match all of the supplied matchers. | |
| anyOf | back to summary |
|---|---|
| public static <T> Matcher Returns a matcher that matches when against objects which match any of the supplied matchers. | |
| attributes | back to summary |
|---|---|
| public static Matcher Returns a matcher that matches context elements whose | |
| context | back to summary |
|---|---|
| public static Matcher Returns a matcher that matches tree nodes whose
| |
| hasAttribute | back to summary |
|---|---|
| public static Matcher Returns a matcher that matches attribute maps that include the given attribute entry. | |
| hasAttribute | back to summary |
|---|---|
| public static Matcher Returns a matcher that matches attribute maps the include an attribute with the given name, and whose value matches the given matcher. | |
| identifier | back to summary |
|---|---|
| public static Matcher Returns a matcher that matches context elements whose
| |
| not | back to summary |
|---|---|
| public static <T> Matcher | |
| subclassOf | back to summary |
|---|---|
| public static Matcher Returns a matcher that matches classes that are sub-types of the supplied class. | |