org.apache.cocoon.components.elementprocessor
Interface ElementProcessorFactory

All Superinterfaces:
Component
All Known Implementing Classes:
AbstractElementProcessorFactory, HSSFElementProcessorFactory

public interface ElementProcessorFactory
extends Component

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

Version:
CVS $Id: ElementProcessorFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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

static final String ROLE
Method Detail

createElementProcessor

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-2010 The Apache Software Foundation. All Rights Reserved.