Class WildcardDefinitionPatternMatcherFactory
- java.lang.Object
-
- org.apache.tiles.definition.pattern.wildcard.WildcardDefinitionPatternMatcherFactory
-
- All Implemented Interfaces:
DefinitionPatternMatcherFactory,PatternRecognizer
public class WildcardDefinitionPatternMatcherFactory extends java.lang.Object implements DefinitionPatternMatcherFactory, PatternRecognizer
Creates instances ofWildcardDefinitionPatternMatcher.- Since:
- 2.2.0
- Version:
- $Rev: 795343 $ $Date: 2009-07-18 21:26:09 +1000 (Sat, 18 Jul 2009) $
-
-
Constructor Summary
Constructors Constructor Description WildcardDefinitionPatternMatcherFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefinitionPatternMatchercreateDefinitionPatternMatcher(java.lang.String pattern, Definition definition)Creates a new definition pattern matcher.booleanisPatternRecognized(java.lang.String candidatePattern)Checks if a pattern is recognized as a pattern.
-
-
-
Method Detail
-
createDefinitionPatternMatcher
public DefinitionPatternMatcher createDefinitionPatternMatcher(java.lang.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
public boolean isPatternRecognized(java.lang.String candidatePattern)
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.
-
-