public interface ExtractedItem
Access the extracted XML or JSON node using any StructureReadHandle or class registered by a ContentHandle.
| Modifier and Type | Method and Description |
|---|---|
<T extends StructureReadHandle> |
get(T handle)
Get the item using the specified handle.
|
<T> T |
getAs(Class<T> as)
Get the item using the handle registered for the specified class.
|
<T extends StructureReadHandle> T get(T handle)
Get the item using the specified handle.
T - the type of StructureReadHandle to returnhandle - a handle to populate<T> T getAs(Class<T> as)
Get the item using the handle registered for the specified class. The IO class must have been registered before creating the database client. By default, the provided handles that implement ContentHandle are registered.
T - the type of object that will be returned by the handle registered for itas - a Class type that has been registered by a handleCopyright © 2013-2017 MarkLogic Corporation.