org.weborganic.bastille.psml
Class GetFolderOverview
java.lang.Object
org.weborganic.bastille.psml.GetFolderOverview
- All Implemented Interfaces:
- Cacheable, ContentGenerator
public final class GetFolderOverview
- extends Object
- implements ContentGenerator, Cacheable
Returns an overview of the folder by Berlioz path.
The overview is generated from the first header and the first paragraph from each PageSeeder XML.
Configuration
No configuration required for this generator.
Parameters
No parameters necessary.
Returned XML
<overview folder="[folder]">
<entry file="[filename]">
<title>[firsttitle]</title>
<summary>[firstpara]</summary>
</entry>
...
<overview>
Deployment
<generator class="org.weborganic.bastille.xml.GetFolderOverview" name="overview" target="main" />
- Since:
- 0.6.33
GetFolderOverview
public GetFolderOverview()
getETag
public String getETag(ContentRequest req)
- Specified by:
getETag
in interface Cacheable
process
public void process(ContentRequest req,
XMLWriter xml)
throws BerliozException,
IOException
- Specified by:
process
in interface ContentGenerator
- Throws:
BerliozException
IOException