T - The type of the customization key.public class PrefixedPatternDefinitionResolver<T> extends AbstractPatternDefinitionResolver<T>
LANGUAGENAME:expression.registerDefinitionPatternMatcherFactory(String, DefinitionPatternMatcherFactory)
method before using this resolver.| Constructor and Description |
|---|
PrefixedPatternDefinitionResolver()
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.
|
void |
registerDefinitionPatternMatcherFactory(String language,
DefinitionPatternMatcherFactory factory)
Registers a
DefinitionPatternMatcherFactory connected to a
particular language. |
clearPatternPaths, resolveDefinition, storeDefinitionPatternspublic PrefixedPatternDefinitionResolver()
public void registerDefinitionPatternMatcherFactory(String language, DefinitionPatternMatcherFactory factory)
DefinitionPatternMatcherFactory connected to a
particular language.language - The name of the language.factory - The pattern matcher factory to register.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 © 2000–2024 Apache Software Foundation. All rights reserved.