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

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.treeprocessor.AbstractProcessingNode
          extended byorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
              extended byorg.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode
All Implemented Interfaces:
org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode, ThreadSafe

public final class HandleErrorsNode
extends AbstractParentProcessingNode

Handles <map:handle-errors>

Version:
$Id: HandleErrorsNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
componentName, executor, location
 
Constructor Summary
HandleErrorsNode(String scope)
           
 
Method Summary
 boolean invoke(org.apache.cocoon.environment.Environment env, InvokeContext context)
          Process environment.
 boolean isExternal()
           
 boolean isInternal()
           
 void setChildren(ProcessingNode[] nodes)
           
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
invokeNodes, invokeNodes
 
Methods inherited from class org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
getLocation, getType, setLocation, setSitemapExecutor
 
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
 

Constructor Detail

HandleErrorsNode

public HandleErrorsNode(String scope)
                 throws ConfigurationException
Parameters:
scope - Value of the error handler scope attribute: external, internal, always.
Method Detail

isInternal

public boolean isInternal()

isExternal

public boolean isExternal()

setChildren

public void setChildren(ProcessingNode[] nodes)

invoke

public final 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.