T
- The type of the customization key.public class BasicPatternDefinitionResolver<T> extends AbstractPatternDefinitionResolver<T>
DefinitionPatternMatcher
separated by customization key. DefinitionPatternMatcherFactory
and recgnizes patterns through the
use of a PatternRecognizer
.Constructor and Description |
---|
BasicPatternDefinitionResolver(DefinitionPatternMatcherFactory definitionPatternMatcherFactory,
PatternRecognizer patternRecognizer)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Definition> |
addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers,
Map<String,Definition> defsMap)
Adds definitions, filtering and adding them to the list of definition
pattern matchers.
|
clearPatternPaths, resolveDefinition, storeDefinitionPatterns
public BasicPatternDefinitionResolver(DefinitionPatternMatcherFactory definitionPatternMatcherFactory, PatternRecognizer patternRecognizer)
definitionPatternMatcherFactory
- The definition pattern matcher factory.patternRecognizer
- The pattern recognizer.protected Map<String,Definition> addDefinitionsAsPatternMatchers(List<DefinitionPatternMatcher> matchers, Map<String,Definition> defsMap)
addDefinitionsAsPatternMatchers
in class AbstractPatternDefinitionResolver<T>
matchers
- The list containing the currently stored definition pattern
matchers.defsMap
- The definition map to parse.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.