org.apache.cocoon.mail
Class MailCommandSelector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.selection.AbstractSwitchSelector
org.apache.cocoon.mail.MailCommandSelector
- All Implemented Interfaces:
- Component, LogEnabled, ThreadSafe, Selector, SwitchSelector
Deprecated. use RequestAttributeSelector, RequestParameterSelector, or ParameterSelector instead.
public class MailCommandSelector
- extends AbstractSwitchSelector
- Version:
- $Id: MailCommandSelector.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Method Summary |
Object |
getSelectorContext(Map objectModel,
Parameters parameters)
Deprecated. Method to create a selector context. |
boolean |
select(String expression,
Object selectorContext)
Deprecated. Switch Selectors test patterns against a context object
and signal success with the returned boolean value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailCommandSelector
public MailCommandSelector()
- Deprecated.
getSelectorContext
public Object getSelectorContext(Map objectModel,
Parameters parameters)
- Deprecated.
- Description copied from interface:
SwitchSelector
- Method to create a selector context.
- Parameters:
objectModel
- The Map
containing object of the
calling environment which may be used
to select values to test the expression.parameters
- The sitemap parameters, as specified by
<parameter/> tags.
- Returns:
- Selector context
select
public boolean select(String expression,
Object selectorContext)
- Deprecated.
- Description copied from interface:
SwitchSelector
- Switch Selectors test patterns against a context object
and signal success with the returned boolean value
- Parameters:
expression
- The expression to test.selectorContext
- The context this test should be performed in.
- Returns:
- true if the test was successful.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.