Package org.apache.fop.render
Class XMLHandlerConfigurator
java.lang.Object
org.apache.fop.render.AbstractRendererConfigurator
org.apache.fop.render.XMLHandlerConfigurator
Configurator for XMLHandler objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.Log
logger instanceFields inherited from class org.apache.fop.render.AbstractRendererConfigurator
userAgent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(RendererContext context, String ns) Configures renderer context by setting the handler configuration on it.private Configuration
getHandlerConfig
(Configuration cfg, String namespace) Returns the configuration subtree for a specific renderer.Methods inherited from class org.apache.fop.render.AbstractRendererConfigurator
getType
-
Field Details
-
log
protected static final org.apache.commons.logging.Log loglogger instance
-
-
Constructor Details
-
XMLHandlerConfigurator
Default constructor- Parameters:
userAgent
- the user agent
-
-
Method Details
-
getHandlerConfig
Returns the configuration subtree for a specific renderer.- Parameters:
cfg
- the renderer configurationnamespace
- the namespace (i.e. the XMLHandler) for which the configuration should be returned- Returns:
- the requested configuration subtree, null if there's no configuration
-
configure
Configures renderer context by setting the handler configuration on it.- Parameters:
context
- the RendererContext (contains the user agent)ns
- the Namespace of the foreign object- Throws:
FOPException
- if configuring the target objects fails
-