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

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

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

origin: dsukhoroslov/bagri

result.setProperty(pn_xqj_copyNamespacesModePreserve, String.valueOf(ctx.getCopyNamespacesModePreserve()));
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) {
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.setPreserveNamespaces(ctx.getCopyNamespacesModePreserve() == COPY_NAMESPACES_MODE_PRESERVE);
sqc.declareDefaultCollation(ctx.getDefaultCollation());
sqc.setDefaultElementNamespace(ctx.getDefaultElementTypeNamespace());
sqc.setDefaultFunctionNamespace(ctx.getDefaultFunctionNamespace());
sqc.setEmptyLeast(ctx.getDefaultOrderForEmptySequences() == DEFAULT_ORDER_FOR_EMPTY_SEQUENCES_LEAST);
javax.xml.xqueryXQStaticContextgetDefaultElementTypeNamespace

Javadoc

Gets the URI of the default element/type 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.
  • getDefaultFunctionNamespace
    Gets the URI of the default function 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

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • JPanel (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • CodeWhisperer 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