public interface ContentHandleFactory
ContentHandle
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
getHandledClasses()
Returns classes that the handle always supports;
|
boolean |
isHandled(Class<?> type)
Returns true if the factory can create a handle for instances
of the IO class.
|
<C> ContentHandle<C> |
newHandle(Class<C> type)
Instantiates a handle for an IO class recognized by the factory.
|
Class<?>[] getHandledClasses()
boolean isHandled(Class<?> type)
type
- the class of the IO representation<C> ContentHandle<C> newHandle(Class<C> type)
type
- the class of the IO representationCopyright © 2013-2015 MarkLogic Corporation.