org.apache.cocoon.components.treeprocessor.sitemap
Class AggregateNode
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.sitemap.AggregateNode
- All Implemented Interfaces:
- LogEnabled, ThreadSafe, ProcessingNode, Locatable
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 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Sylvain Wallez
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(Environment env,
InvokeContext context)
throws Exception
- Description copied from interface:
ProcessingNode
- Process environment.
- Throws:
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.