Class WildcardDefinitionPatternMatcherFactory
java.lang.Object
org.apache.tiles.core.definition.pattern.wildcard.WildcardDefinitionPatternMatcherFactory
- All Implemented Interfaces:
DefinitionPatternMatcherFactory,PatternRecognizer
public class WildcardDefinitionPatternMatcherFactory
extends Object
implements DefinitionPatternMatcherFactory, PatternRecognizer
Creates instances of
WildcardDefinitionPatternMatcher.- Since:
- 2.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDefinitionPatternMatcher(String pattern, Definition definition) Creates a new definition pattern matcher.booleanisPatternRecognized(String candidatePattern) Checks if a pattern is recognized as a pattern.
-
Constructor Details
-
WildcardDefinitionPatternMatcherFactory
public WildcardDefinitionPatternMatcherFactory()
-
-
Method Details
-
createDefinitionPatternMatcher
public DefinitionPatternMatcher createDefinitionPatternMatcher(String pattern, Definition definition) Creates a new definition pattern matcher.- Specified by:
createDefinitionPatternMatcherin interfaceDefinitionPatternMatcherFactory- Parameters:
pattern- The pattern to be matched.definition- The base definition. Created definitions byDefinitionPatternMatcher.createDefinition(String)will created with this one as a basis.- Returns:
- The definition pattern matcher.
-
isPatternRecognized
Checks if a pattern is recognized as a pattern.- Specified by:
isPatternRecognizedin interfacePatternRecognizer- Parameters:
candidatePattern- The pattern to check.- Returns:
trueif the pattern has been recognized.
-