public class WildcardDefinitionPatternMatcherFactory extends Object implements DefinitionPatternMatcherFactory, PatternRecognizer
WildcardDefinitionPatternMatcher.| Constructor and Description |
|---|
WildcardDefinitionPatternMatcherFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefinitionPatternMatcher |
createDefinitionPatternMatcher(String pattern,
Definition definition)
Creates a new definition pattern matcher.
|
boolean |
isPatternRecognized(String candidatePattern)
Checks if a pattern is recognized as a pattern.
|
public WildcardDefinitionPatternMatcherFactory()
public DefinitionPatternMatcher createDefinitionPatternMatcher(String pattern, Definition definition)
createDefinitionPatternMatcher in interface DefinitionPatternMatcherFactorypattern - The pattern to be matched.definition - The base definition. Created definitions by
DefinitionPatternMatcher.createDefinition(String) will created
with this one as a basis.public boolean isPatternRecognized(String candidatePattern)
isPatternRecognized in interface PatternRecognizercandidatePattern - The pattern to check.true if the pattern has been recognized.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.