org.milyn.delivery
Interface ContentHandlerFactory
- All Superinterfaces:
- ContentHandler
- All Known Implementing Classes:
- JavaContentHandlerFactory
public interface ContentHandlerFactory
- extends ContentHandler
ContentHandler factory interface.
- Author:
- tfennelly
|
Field Summary |
static String |
PARAM_RESTYPE
Name of the param used on a ContentHandlerFactory config that specifies
the resource type that the creator is adding support for. |
PARAM_RESTYPE
static final String PARAM_RESTYPE
- Name of the param used on a ContentHandlerFactory config that specifies
the resource type that the creator is adding support for. This is different
from the type attribute on the resource element. In the case of a ContentHandlerFactory
configuration, the ContentHandlerFactory impl resource type is "class", but it's adding
support for something else (e.g. "xsl"). This is why we can't use the type attribute for this
purpose.
- See Also:
- Constant Field Values
create
ContentHandler create(SmooksResourceConfiguration resourceConfig)
throws SmooksConfigurationException,
InstantiationException
- Create the
ContentHandler instance.
- Parameters:
resourceConfig - The SmooksResourceConfiguration for the ContentHandler
to be created.
- Returns:
ContentHandler instance.
- Throws:
SmooksConfigurationException - Successfully created ContentHandler, but an error occured during configuration.
InstantiationException - Unable to create ContentHandler instance.
Copyright © 2008. All Rights Reserved.