org.apache.cocoon.components.treeprocessor.sitemap
Class AggregateNode
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.AggregateNode
- All Implemented Interfaces:
- org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe
- public class AggregateNode
- extends AbstractProcessingNode
Aggregate sitemap node.
View handling in aggregation
- map:aggregate can have a label, but doesn't match view from-position="first" like generators
- each map:part can have a label
- if at least one of the parts has a label matching the current view, only parts matching
this view are added. Otherwise, all parts are added.
For more info on aggregation and views, see the mail archive
here or
here.
- Version:
- $Id: AggregateNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $
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 |
AggregateNode
public AggregateNode(VariableResolver element,
VariableResolver nsURI,
VariableResolver nsPrefix)
setParts
public void setParts(AggregateNode.Part[] allParts,
Map viewParts)
setViewNodes
public void setViewNodes(Map viewNodes)
invoke
public boolean invoke(org.apache.cocoon.environment.Environment env,
InvokeContext context)
throws Exception
- Description copied from interface:
ProcessingNode
- Process environment.
- Throws:
Exception
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.