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 |
|---|---|
java.util.Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.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 java.util.Map act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
java.util.Map objectModel,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters parameters)
throws java.lang.Exception
act in interface org.apache.cocoon.acting.Actionjava.lang.ExceptionCopyright © 2018 DuraSpace. All Rights Reserved.