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 DefinitionPatternMatcherFactory
pattern
- 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 PatternRecognizer
candidatePattern
- The pattern to check.true
if the pattern has been recognized.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.