com.marklogic.xcc.ResultItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmlcalabash-extension-stubs Show documentation
Show all versions of xmlcalabash-extension-stubs Show documentation
This artifact defines API stubs for compiling extension classes.
The newest version!
package com.marklogic.xcc;
import com.marklogic.xcc.types.XdmItem;
/**
* An {@link XdmItem} that is a member of a {@link ResultSequence}. The values
* associated with {@link ResultItem} instances may be transient.
* {@link ResultItem} wraps an {@link XdmItem} instance and also implements the
* {@link XdmItem} interface. Invoking the methods of the {@link XdmItem}
* interface are passed through to the contained instance.
*
*
* Because a {@link ResultSequence} may be streaming, the contained
* {@link XdmItem} may be have been partially consumed. Use the
* {@link #isFetchable()} method to determine if it is safe to access the
* value.
*
* @see
* Interface ResultItem
*/
public interface ResultItem extends XdmItem {
String getDocumentURI();
String getNodePath();
XdmItem getItem();
int getIndex();
boolean isFetchable();
void cache();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy