|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.matching.CookieMatcher
Matches cookies agains given name. Returns value of the matched cookie.
Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
Constructor Summary | |
CookieMatcher()
|
Method Summary | |
java.util.Map |
match(java.lang.String pattern,
java.util.Map objectModel,
org.apache.avalon.framework.parameters.Parameters parameters)
Matches the pattern against some Request values
and returns a Map object with replacements
for wildcards contained in the pattern. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CookieMatcher()
Method Detail |
public java.util.Map match(java.lang.String pattern, java.util.Map objectModel, org.apache.avalon.framework.parameters.Parameters parameters) throws PatternException
Matcher
Request
values
and returns a Map
object with replacements
for wildcards contained in the pattern.match
in interface Matcher
org.apache.cocoon.matching.Matcher
pattern
- The pattern to match against. Depending on the
implementation the pattern can contain wildcards
or regular expressions.objectModel
- The Map
with object of the
calling environment which can be used
to select values this matchers matches against.Map
object with
replacements for wildcards/regular-expressions
contained in the pattern.
If the return value is null there was no match.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |