Tabnine Logo
XQStaticContext.getDefaultFunctionNamespace
Code IndexAdd Tabnine to your IDE (free)

How to use
getDefaultFunctionNamespace
method
in
javax.xml.xquery.XQStaticContext

Best Java code snippets using javax.xml.xquery.XQStaticContext.getDefaultFunctionNamespace (Showing top 3 results out of 315)

origin: dsukhoroslov/bagri

result.setProperty(pn_xqj_defaultCollationUri, ctx.getDefaultCollation());
result.setProperty(pn_xqj_defaultElementTypeNamespace, ctx.getDefaultElementTypeNamespace());
result.setProperty(pn_xqj_defaultFunctionNamespace, ctx.getDefaultFunctionNamespace());
if (ctx.getNamespacePrefixes().length > 0) {
  StringBuilder namespaces = new StringBuilder();
origin: dsukhoroslov/bagri

public void copyFrom(XQStaticContext from) throws XQException {
  this.prefixes = null;
  this.namespaces.clear();
  for (String prefix: from.getNamespacePrefixes()) {
    this.declareNamespace(prefix, from.getNamespaceURI(prefix));
  }
  this.defaultElementTypeNamespace = from.getDefaultElementTypeNamespace();
  this.defaultFunctionNamespace = from.getDefaultFunctionNamespace();
  this.defaultCollationUri = from.getDefaultCollation();
  this.constructionMode = from.getConstructionMode();
  this.orderingMode = from.getOrderingMode();
  this.defaultOrderForEmptySequences = from.getDefaultOrderForEmptySequences();
  this.boundarySpacePolicy = from.getBoundarySpacePolicy();
  this.copyNamespacesModePreserve = from.getCopyNamespacesModePreserve();
  this.copyNamespacesModeInherit = from.getCopyNamespacesModeInherit();
  this.baseUri = from.getBaseURI();
  this.bindingMode = from.getBindingMode();
  this.holdability = from.getHoldability();
  this.queryLanguageTypeAndVersion = from.getQueryLanguageTypeAndVersion();
  this.scrollability = from.getScrollability();
  this.queryTimeout = from.getQueryTimeout();
  setContextItemStaticType(from.getContextItemStaticType());
}
origin: dsukhoroslov/bagri

sqc.declareDefaultCollation(ctx.getDefaultCollation());
sqc.setDefaultElementNamespace(ctx.getDefaultElementTypeNamespace());
sqc.setDefaultFunctionNamespace(ctx.getDefaultFunctionNamespace());
sqc.setEmptyLeast(ctx.getDefaultOrderForEmptySequences() == DEFAULT_ORDER_FOR_EMPTY_SEQUENCES_LEAST);
sqc.clearNamespaces();
javax.xml.xqueryXQStaticContextgetDefaultFunctionNamespace

Javadoc

Gets the URI of the default function namespace, the empty string if not set.

Popular methods of XQStaticContext

  • declareNamespace
    Declares a namespace prefix and associates it with a namespace URI. If the namespace URI is the empt
  • getBaseURI
    Gets the Base URI, if set in the static context, else the empty string.
  • getBoundarySpacePolicy
    Gets the boundary-space policy defined in the static context.
  • getConstructionMode
    Gets the construction mode defined in the static context.
  • getCopyNamespacesModeInherit
    Gets the inherit part of the copy-namespaces mode defined in the static context.
  • getCopyNamespacesModePreserve
    Gets the preserve part of the copy-namespaces mode defined in the static context.
  • getDefaultCollation
    Gets the URI of the default collation.
  • getDefaultElementTypeNamespace
    Gets the URI of the default element/type namespace, the empty string if not set.
  • getDefaultOrderForEmptySequences
    Gets the default order for empty sequences defined in the static context.
  • getNamespacePrefixes
    Returns the prefixes of all the statically known namespaces. Use the getNamespaceURI method to look
  • getNamespaceURI
    Retrieves the namespace URI associated with a prefix. An XQException is thrown if an unknown prefix
  • getQueryLanguageTypeAndVersion
    Gets the value of the language type and version property. By default an XQJ implementation's default
  • getNamespaceURI,
  • getQueryLanguageTypeAndVersion,
  • getBindingMode,
  • getHoldability,
  • getOrderingMode,
  • getQueryTimeout,
  • getScrollability,
  • getContextItemStaticType,
  • setBaseURI

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • notifyDataSetChanged (ArrayAdapter)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Runner (org.openjdk.jmh.runner)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now