public class WildcardDefinitionPatternMatcher extends Object implements DefinitionPatternMatcher
Constructor and Description |
---|
WildcardDefinitionPatternMatcher(String pattern,
Definition definition,
WildcardHelper wildcardHelper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Definition |
createDefinition(String definitionName)
Creates a definition, given the definition name, through the use of
pattern matching.
|
public WildcardDefinitionPatternMatcher(String pattern, Definition definition, WildcardHelper wildcardHelper)
pattern
- The pattern to use, in string form.definition
- The definition to use as a basis.wildcardHelper
- The object that parses wildcard expressions and
recognized substitution variables.public Definition createDefinition(String definitionName)
createDefinition
in interface DefinitionPatternMatcher
definitionName
- The definition name to match.null
if not
matched.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.