| org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNodeBuilder
All known Subclasses: org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.SitemapNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.ActionSetNodeBuilder, org.apache.cocoon.components.treeprocessor.ContainerNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.ActNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.SelectNodeBuilder, org.apache.cocoon.components.treeprocessor.CategoryNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.MatchNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.FlowNodeBuilder, org.apache.cocoon.components.treeprocessor.sitemap.PipelineNodeBuilder,
AbstractParentProcessingNodeBuilder | abstract public class AbstractParentProcessingNodeBuilder extends AbstractProcessingNodeBuilder implements Configurable(Code) | | Base class for parent ProcessingNodeBuilders , providing services for parsing
children nodes.
author: Sylvain Wallez version: CVS $Id: AbstractParentProcessingNodeBuilder.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
protected ProcessingNode[] | buildChildNodes(Configuration config) | protected List | buildChildNodesList(Configuration config) Create the ProcessingNode s for the children of a given node. | public void | configure(Configuration config) Configure the sets of allowed, forbidden and ignored children nodes. | protected boolean | isChild(Configuration child) Checks if a child element and is allowed, and if not throws a ConfigurationException .
Parameters: child - the child configuration to check. | protected boolean | isParameter(Configuration config) | public static ProcessingNode[] | toNodeArray(List list) Convenience function that converts a List of ProcessingNode s
to an array. |
buildChildNodesList | protected List buildChildNodesList(Configuration config) throws Exception(Code) | | Create the ProcessingNode s for the children of a given node.
Child nodes are controlled to be actually allowed in this node.
|
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | Configure the sets of allowed, forbidden and ignored children nodes.
|
isChild | protected boolean isChild(Configuration child) throws ConfigurationException(Code) | | Checks if a child element and is allowed, and if not throws a ConfigurationException .
Parameters: child - the child configuration to check. true if this child should be considered or false if it should be ignored. throws: ConfigurationException - if this child isn't allowed. |
isParameter | protected boolean isParameter(Configuration config) throws ConfigurationException(Code) | | |
toNodeArray | public static ProcessingNode[] toNodeArray(List list)(Code) | | Convenience function that converts a List of ProcessingNode s
to an array.
|
Methods inherited from org.apache.cocoon.components.treeprocessor.AbstractProcessingNodeBuilder | protected void checkNamespace(Configuration config) throws ConfigurationException(Code)(Java Doc) public void compose(ComponentManager manager) throws ComponentException(Code)(Java Doc) protected boolean hasParameters()(Code)(Java Doc) public void recompose(ComponentManager manager) throws ComponentException(Code)(Java Doc) public void setBuilder(TreeBuilder treeBuilder)(Code)(Java Doc)
|
|
|