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

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

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

origin: dsukhoroslov/bagri

for (String ns: nspaces) {
  int pos = ns.indexOf(":");
  ctx.declareNamespace(ns.substring(0, pos), ns.substring(pos + 1));
origin: org.jboss.soa.bpel/riftsaw-bpel-compiler

staticContext.declareNamespace(prefix, uri);
if ("".equals(prefix)) {
  declarations.declareDefaultElementNamespace(uri);
origin: org.jboss.soa.bpel/riftsaw-bpel-runtime

for (String prefix : prefixes) {
  String uri = nsContext.getNamespaceURI(prefix);
  staticEnv.declareNamespace(prefix, uri);
javax.xml.xqueryXQStaticContextdeclareNamespace

Javadoc

Declares a namespace prefix and associates it with a namespace URI. If the namespace URI is the empty string, the prefix is removed from the in-scope namespace definitions.

Popular methods of XQStaticContext

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

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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