org.apache.cocoon.matching
Class AbstractPreparableMatcher
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.matching.AbstractPreparableMatcher
- All Implemented Interfaces:
- org.apache.cocoon.matching.Matcher, org.apache.cocoon.matching.PreparableMatcher
- Direct Known Subclasses:
- AbstractRegexpMatcher
- public abstract class AbstractPreparableMatcher
- extends org.apache.cocoon.util.AbstractLogEnabled
- implements org.apache.cocoon.matching.PreparableMatcher
A matcher that can prepare patterns during sitemap setup for faster match at request time.
This is also a regular matcher, meaning the sitemap can decide either to prepare the pattern
or to match with a request-time evaluated pattern (for {..} substitution).
- Version:
- $Id: AbstractPreparableMatcher.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
Method Summary |
Map |
match(String pattern,
Map objectModel,
Parameters parameters)
Match the pattern by preparing it and matching the prepared pattern. |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.matching.PreparableMatcher |
preparedMatch, preparePattern |
AbstractPreparableMatcher
public AbstractPreparableMatcher()
match
public Map match(String pattern,
Map objectModel,
Parameters parameters)
throws org.apache.cocoon.sitemap.PatternException
- Match the pattern by preparing it and matching the prepared pattern.
- Specified by:
match
in interface org.apache.cocoon.matching.Matcher
- Throws:
org.apache.cocoon.sitemap.PatternException
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.