public class DSpaceLocaleAction
extends org.apache.cocoon.acting.ServiceableAction
implements org.apache.avalon.framework.configuration.Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
DSpaceLocaleAction.DSpaceLocaleValidator
This validator class works with cocoon's i18nutils class to test if locales are valid.
|
| Constructor and Description |
|---|
DSpaceLocaleAction() |
| Modifier and Type | Method and Description |
|---|---|
Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
Action which obtains the current environments locale information, and
places it in the objectModel (and optionally in a session/cookie).
|
void |
configure(org.apache.avalon.framework.configuration.Configuration config)
Configure the action.
|
public void configure(org.apache.avalon.framework.configuration.Configuration config)
configure in interface org.apache.avalon.framework.configuration.Configurablepublic Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, String source, org.apache.avalon.framework.parameters.Parameters parameters) throws Exception
act in interface org.apache.cocoon.acting.ActionExceptionCopyright © 2013 DuraSpace. All Rights Reserved.