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

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

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

origin: dsukhoroslov/bagri

result.setProperty(pn_xqj_constructionMode, String.valueOf(ctx.getConstructionMode()));
result.setProperty(pn_xqj_copyNamespacesModeInherit, String.valueOf(ctx.getCopyNamespacesModeInherit()));
result.setProperty(pn_xqj_copyNamespacesModePreserve, String.valueOf(ctx.getCopyNamespacesModePreserve()));
result.setProperty(pn_xqj_defaultCollationUri, ctx.getDefaultCollation());
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.setInheritNamespaces(ctx.getCopyNamespacesModeInherit() == COPY_NAMESPACES_MODE_INHERIT);
sqc.setPreserveNamespaces(ctx.getCopyNamespacesModePreserve() == COPY_NAMESPACES_MODE_PRESERVE);
sqc.declareDefaultCollation(ctx.getDefaultCollation());
javax.xml.xqueryXQStaticContextgetCopyNamespacesModeInherit

Javadoc

Gets the inherit part of the copy-namespaces mode defined in the static context.

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.
  • 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.
  • 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

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Top plugins for Android Studio
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