Package org.smooks.engine.delivery
Class DefaultContentHandlerBinding<T extends ContentHandler>
- java.lang.Object
-
- org.smooks.engine.delivery.DefaultContentHandlerBinding<T>
-
- All Implemented Interfaces:
ContentHandlerBinding<T>
public class DefaultContentHandlerBinding<T extends ContentHandler> extends Object implements ContentHandlerBinding<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultContentHandlerBinding(T contentHandler, String targetSelector, Registry registry)
DefaultContentHandlerBinding(T contentHandler, ResourceConfig resourceConfig)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
T
getContentHandler()
Get the content handler.ResourceConfig
getResourceConfig()
Get the resource configuration.int
hashCode()
-
-
-
Constructor Detail
-
DefaultContentHandlerBinding
public DefaultContentHandlerBinding(T contentHandler, ResourceConfig resourceConfig)
Public constructor.- Parameters:
contentHandler
- The content handler instance.resourceConfig
- The defining resource configuration.
-
-
Method Detail
-
getContentHandler
public T getContentHandler()
Get the content handler.- Specified by:
getContentHandler
in interfaceContentHandlerBinding<T extends ContentHandler>
- Returns:
- The
ContentHandler
.
-
getResourceConfig
public ResourceConfig getResourceConfig()
Get the resource configuration.- Specified by:
getResourceConfig
in interfaceContentHandlerBinding<T extends ContentHandler>
- Returns:
- The
ResourceConfig
.
-
-