DefinitionPatternMatcherFactory
, PatternRecognizer
public class WildcardDefinitionPatternMatcherFactory extends java.lang.Object implements DefinitionPatternMatcherFactory, PatternRecognizer
WildcardDefinitionPatternMatcher
.Constructor | Description |
---|---|
WildcardDefinitionPatternMatcherFactory() |
Modifier and Type | Method | Description |
---|---|---|
DefinitionPatternMatcher |
createDefinitionPatternMatcher(java.lang.String pattern,
Definition definition) |
Creates a new definition pattern matcher.
|
boolean |
isPatternRecognized(java.lang.String candidatePattern) |
Checks if a pattern is recognized as a pattern.
|
public WildcardDefinitionPatternMatcherFactory()
public DefinitionPatternMatcher createDefinitionPatternMatcher(java.lang.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(java.lang.String candidatePattern)
isPatternRecognized
in interface PatternRecognizer
candidatePattern
- The pattern to check.true
if the pattern has been recognized.Copyright © 2018. All rights reserved.