org.apache.cocoon.components.treeprocessor.sitemap
Class AggregateNode
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
|
+--org.apache.cocoon.components.treeprocessor.sitemap.AggregateNode
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Loggable, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe
- public class AggregateNode
- extends AbstractProcessingNode
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:
- CVS $Id: AggregateNode.java,v 1.3.2.2 2002/11/25 21:51:59 sylvain Exp $
- Author:
- Sylvain Wallez
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
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)
throws PatternException
setParts
public void setParts(AggregateNode.Part[] allParts,
java.util.Map viewParts)
setViewNodes
public void setViewNodes(java.util.Map viewNodes)
invoke
public boolean invoke(Environment env,
InvokeContext context)
throws java.lang.Exception
- Description copied from interface:
ProcessingNode
- Process environment.
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.