public class XqueryQuery extends ResourceQuery
Modifier and Type | Field and Description |
---|---|
static String |
KEY_IS_LIBRARY
Search key for searching based on whether or not a given resource is a XQ 1.0 library module
|
static String |
KEY_LIBRARY_NAMESPACE
Search key for searching based on the target namespace of the library module
|
static String |
KEY_VERSION
Search key for searching based on the xquery version
|
static long |
serialVersionUID |
static String |
VERSION_10
a string identifying that a given resource uses 1.0 version of Xquery engine
|
static String |
VERSION_2004
a string identifying that a given resource uses 2004-draft version of Xquery engine
|
Constructor and Description |
---|
XqueryQuery()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
setIsLibrary(boolean isLibrary)
Adds a predicate to return xquery resources that are library modules
|
void |
setLibraryNamespace(String targetNamespace)
Adds a predicate to return xquery resources that are library modules with the given target namespace.
|
void |
setVersion(String version)
Adds a predicate to return xquery resources with the specified version
|
addKeySearch, getAttrsToReturn, getFilter, getLocalName, getPath, getTypeId, getUpdatedAfter, getUpdatedBefore, isChangedInSessionOnly, lastUpdatedBetween, setAttrsToReturn, setChangedInSessionOnly, setLocalName, setPath
public static final long serialVersionUID
public static final String KEY_VERSION
public static final String KEY_IS_LIBRARY
public static final String KEY_LIBRARY_NAMESPACE
public static String VERSION_2004
public static String VERSION_10
public final void setVersion(String version)
version
-public final void setIsLibrary(boolean isLibrary)
isLibrary
-public final void setLibraryNamespace(String targetNamespace)
targetNamespace
-