org.apache.cocoon.components.elementprocessor
Interface ElementProcessorFactory

All Known Implementing Classes:
AbstractElementProcessorFactory

public interface ElementProcessorFactory

Create instances of specific ElementProcessor implementations to handle specific XML elements and their content.

Version:
CVS $Id: ElementProcessorFactory.java 55383 2004-10-23 15:10:46Z cziegeler $
Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Field Summary
static String ROLE
           
 
Method Summary
 ElementProcessor createElementProcessor(String name)
          Given an XML element name, create and return an appropriate ElementProcessor.
 

Field Detail

ROLE

public static final String ROLE
Method Detail

createElementProcessor

public ElementProcessor createElementProcessor(String name)
                                        throws CannotCreateElementProcessorException
Given an XML element name, create and return an appropriate ElementProcessor.

Parameters:
name - element name
Returns:
the specified ElementProcessor
Throws:
CannotCreateElementProcessorException - if there is no ElementProcessor available for the specified name


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