org.apache.cocoon.acting
Class LinkTranslatorMapAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.apache.cocoon.acting.LinkTranslatorMapAction
- All Implemented Interfaces:
- Action, LogEnabled, Serviceable, ThreadSafe
- public class LinkTranslatorMapAction
- extends ServiceableAction
- implements ThreadSafe
This action sets a new LINK_OBJECT entry in the objectModel entry.
- Since:
- 16 December 2002
- Version:
- CVS $Id: LinkTranslatorMapAction.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Bernhard Huber
Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkTranslatorMapAction
public LinkTranslatorMapAction()
act
public Map act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
throws Exception
- Execute the LinkTranslatorMapAction.
- Specified by:
act
in interface Action
- Parameters:
redirector
- Cocoon's redirectorresolver
- Cocoon's source resolver, used for testing if a source is resolvablesource
- the source, e.g.: index.htmlparameters
- of this actionobjectModel
- Description of the Parameter
- Returns:
- Map The returned
Map
object with
sitemap substitution values which can be used
in subsequent elements attributes like src=
using a xpath like expression: src="mydir/{myval}/foo"
If the return value is null the processing inside
the element of the sitemap will
be skipped.
- Throws:
Exception
- Description of the Exception
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.