org.apache.cocoon.selection
Class BrowserSelector

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.selection.NamedPatternsSelector
          extended byorg.apache.cocoon.selection.BrowserSelector
All Implemented Interfaces:
Configurable, org.apache.cocoon.selection.Selector, ThreadSafe

public class BrowserSelector
extends org.apache.cocoon.selection.NamedPatternsSelector

Tests a specific browser pattern against the requesting user-agent.

Version:
$Id: BrowserSelector.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.selection.Selector
ROLE
 
Constructor Summary
BrowserSelector()
           
 
Method Summary
 void configure(Configuration conf)
           
 boolean select(String expression, Map objectModel, Parameters parameters)
           
 
Methods inherited from class org.apache.cocoon.selection.NamedPatternsSelector
checkPatterns, configure
 
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
 

Constructor Detail

BrowserSelector

public BrowserSelector()
Method Detail

configure

public void configure(Configuration conf)
               throws ConfigurationException
Throws:
ConfigurationException

select

public boolean select(String expression,
                      Map objectModel,
                      Parameters parameters)


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.