org.apache.cocoon.components.treeprocessor.sitemap
Class VPCsNodeBuilder

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
              extended byorg.apache.cocoon.components.treeprocessor.ContainerNodeBuilder
                  extended byorg.apache.cocoon.components.treeprocessor.sitemap.VPCsNodeBuilder
All Implemented Interfaces:
Configurable, LogEnabled, ProcessingNodeBuilder, ThreadSafe

public class VPCsNodeBuilder
extends ContainerNodeBuilder

Handles a set of virtual sitemap components.

Version:
$Id: VPCsNodeBuilder.java 292282 2005-09-28 19:54:16Z vgritsenko $

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
allowedChildren, forbiddenChildren, ignoredChildren
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
manager, treeBuilder
 
Constructor Summary
VPCsNodeBuilder()
           
 
Method Summary
protected  boolean isChild(Configuration child)
          Checks if a child element is a VPC, and if not throws a ConfigurationException.
protected  void setupNode(ContainerNode node, Configuration config)
           
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder
buildNode, hasParameters
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
buildChildNodes, buildChildNodesList, configure, isParameter, toNodeArray
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder
checkNamespace, setBuilder
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VPCsNodeBuilder

public VPCsNodeBuilder()
Method Detail

isChild

protected boolean isChild(Configuration child)
                   throws ConfigurationException
Checks if a child element is a VPC, and if not throws a ConfigurationException.

Overrides:
isChild in class AbstractParentProcessingNodeBuilder
Parameters:
child - the child configuration to check.
Returns:
true if this child should be considered or false if it should be ignored.
Throws:
ConfigurationException - if this child isn't allowed.

setupNode

protected void setupNode(ContainerNode node,
                         Configuration config)
                  throws Exception
Overrides:
setupNode in class ContainerNodeBuilder
Throws:
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.