code: @Nonnull
    public final XMLWriterSettings setNamespaceContext (@Nullable final INamespaceContext aNamespaceContext)
    {
      // A namespace context must always be present, to resolve default namespaces
      m_aNamespaceContext = aNamespaceContext != null ? aNamespaceContext : new MapBasedNamespaceContext ();
      return this;
    }
docs: Set the namespace context to be used.
  
  @param aNamespaceContext
  The namespace context to be used. May be <code>null</code>.
  @return this