This project has retired. For details please refer to its
Attic page.
RegexpDefinitionPatternMatcher (Tiles 2 2.2.2 API)
org.apache.tiles.definition.pattern.regexp
Class RegexpDefinitionPatternMatcher
java.lang.Object
org.apache.tiles.definition.pattern.regexp.RegexpDefinitionPatternMatcher
- All Implemented Interfaces:
- DefinitionPatternMatcher
public class RegexpDefinitionPatternMatcher
- extends Object
- implements DefinitionPatternMatcher
Matches regular expression patterns in definitions.
- Since:
- 2.2.0
- Version:
- $Rev: 795343 $ $Date: 2009-07-18 13:26:09 +0200 (sab, 18 lug 2009) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpDefinitionPatternMatcher
public RegexpDefinitionPatternMatcher(String pattern,
Definition definition)
- Constructor.
- Parameters:
pattern
- The pattern to use, in string form.definition
- The definition to use as a basis.- Since:
- 2.2.0
createDefinition
public Definition createDefinition(String definitionName)
- Creates a definition, given the definition name, through the use of
pattern matching.
- Specified by:
createDefinition
in interface DefinitionPatternMatcher
- Parameters:
definitionName
- The definition name to match.
- Returns:
- The created definition, if matched, or
null
if not
matched.
Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.