public class StringMatcherFactory extends MatcherFactory
| Modifier and Type | Field and Description |
|---|---|
static StringMatcherFactory |
DEFAULT
Default reusable matcher.
|
| Constructor and Description |
|---|
StringMatcherFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMatch(ClassMeta<?> cm)
Returns
|
Matcher |
create(String pattern)
Instantiates a matcher for the specified pattern.
|
public static final StringMatcherFactory DEFAULT
public StringMatcherFactory()
public boolean canMatch(ClassMeta<?> cm)
MatcherFactorycanMatch in class MatcherFactorycm - The class type of the object being matched. Never public Matcher create(String pattern)
MatcherFactorycreate in class MatcherFactorypattern - The pattern string.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.