public interface ContentHandleFactory
ContentHandle
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?>[] |
getHandledClasses()
Returns classes that the handle always
supports;
|
boolean |
isHandled(java.lang.Class<?> type)
Returns true if the factory can create a handle
for instances of the IO class.
|
<C> ContentHandle<C> |
newHandle(java.lang.Class<C> type)
Instantiates a handle for an IO class recognized
by the factory.
|
java.lang.Class<?>[] getHandledClasses()
boolean isHandled(java.lang.Class<?> type)
type
- the class of the IO representation<C> ContentHandle<C> newHandle(java.lang.Class<C> type)
C
- the registered type which will be handled by
the returned ContentHandletype
- the class of the IO representationCopyright © 2024 MarkLogic Corporation. All Rights Reserved.