org.dspace.app.xmlui.cocoon
Class DSpacePropertyFileReader
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.dspace.app.xmlui.cocoon.DSpacePropertyFileReader
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action
public class DSpacePropertyFileReader
- extends org.apache.cocoon.acting.AbstractAction
Class will read the DSpace configuration file via the ConfigurationManager
It accepts the name of the property to read and the name of the variable to
use in the sitemap scope.
For example:
Will place the value of the "dspace.dir" property in the "dspace_dir" variable to be
used in the sitemap.
- Author:
- Jay Paz
| Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
| Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
|
Method Summary |
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)
|
| 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 |
DSpacePropertyFileReader
public DSpacePropertyFileReader()
act
public 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
- Throws:
Exception
Copyright © 2011 DuraSpace. All Rights Reserved.