
 
        Sets the current namespace context for prefix and uri bindings.
 This context becomes the root namespace context for writing and
 will replace the current root namespace context.  Subsequent calls
 to setPrefix and setDefaultNamespace will bind namespaces using
 the context passed to the method as the root context for resolving
 namespaces.  This method may only be called once at the start of
 the document.  It does not cause the namespaces to be declared.
 If a namespace URI to prefix mapping is found in the namespace
 context it is treated as declared and the prefix may be used
 by the StreamWriter.
        
        
Parameters:
 - 
context - the namespace context to use for this writer, may not be null
Throws:
  - 
XMLStreamException -