com.ibm.broker.plugin

Class MbNamespaceBindings

  • java.lang.Object
    • com.ibm.broker.plugin.MbNamespaceBindings


  • public class MbNamespaceBindings
    extends java.lang.Object
    MbNamespaceBindings is a container for a set of namespace prefix to URI bindings used when evaluating XPath expressions. Namespace bindings are applied to the expression when it is evaluated using evaluateXPath(). The namespace bindings can also be applied to an MbXPath object using setNamespaceBindings().
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addBinding(java.lang.String prefix, java.lang.String uri)
      Adds a mapping between a namespace prefix and the full namespace URI.
      void removeBinding(java.lang.String prefix)
      Removes the currently assigned prefix to namespace URI mapping.
      void setDefaultNamespace(java.lang.String uri)
      Sets the default namespace URI.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MbNamespaceBindings

        public MbNamespaceBindings()
    • Method Detail

      • addBinding

        public void addBinding(java.lang.String prefix,
                               java.lang.String uri)
        Adds a mapping between a namespace prefix and the full namespace URI.
        Parameters:
        prefix - The prefix part of the qualified name.
        uri - The namespace URI to which the prefix refers.
      • removeBinding

        public void removeBinding(java.lang.String prefix)
        Removes the currently assigned prefix to namespace URI mapping.
        Parameters:
        prefix - The prefix to be removed.
      • setDefaultNamespace

        public void setDefaultNamespace(java.lang.String uri)
        Sets the default namespace URI.
        Parameters:
        uri - The default namespace URI.
IBM Integration BusTM
JavaTM Plugin Node API