Class XqueryQuery

All Implemented Interfaces:
Serializable

public class XqueryQuery extends ResourceQuery
Query object for searching Xquery resources
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • KEY_VERSION

      public static final String KEY_VERSION
      Search key for searching based on the xquery version
      See Also:
    • KEY_IS_LIBRARY

      public static final String KEY_IS_LIBRARY
      Search key for searching based on whether or not a given resource is a XQ 1.0 library module
      See Also:
    • KEY_LIBRARY_NAMESPACE

      public static final String KEY_LIBRARY_NAMESPACE
      Search key for searching based on the target namespace of the library module
      See Also:
    • VERSION_2004

      public static String VERSION_2004
      a string identifying that a given resource uses 2004-draft version of Xquery engine
    • VERSION_10

      public static String VERSION_10
      a string identifying that a given resource uses 1.0 version of Xquery engine
  • Constructor Details

    • XqueryQuery

      public XqueryQuery()
      default constructor
  • Method Details

    • setVersion

      public final void setVersion(String version)
      Adds a predicate to return xquery resources with the specified version
      Parameters:
      version -
    • setIsLibrary

      public final void setIsLibrary(boolean isLibrary)
      Adds a predicate to return xquery resources that are library modules
      Parameters:
      isLibrary -
    • setLibraryNamespace

      public final void setLibraryNamespace(String targetNamespace)
      Adds a predicate to return xquery resources that are library modules with the given target namespace.
      Parameters:
      targetNamespace -