@SuppressWarnings("unused") public XmlWriter(Writer w,Set<WriterFlags> f,String encoding) throws IOException {
  this.writer=w;
  this.flags=f != null ? f : EnumSet.noneOf(WriterFlags.class);
  this.encoding=encoding;
  this.elementStack=new Stack<Element>();
  Element rootElement=createElement(null,null,null);
  rootElement.openTagEnded=true;
  elementStack.push(rootElement);
}

@ SuppressWarnings ( "unused" ) public XmlWriter ( Writer w , Set < WriterFlags > f , String encoding ) throws IOException { this . writer = w ; this . flags = f != null ? f : EnumSet . noneOf ( WriterFlags . class ) ; this . encoding = encoding ; this . elementStack = new Stack < Element > ( ) ; Element rootElement = createElement ( null , null , null ) ; rootElement . openTagEnded = true ; elementStack . push ( rootElement ) ; }
the default namespace that will take effect on the next element transition .
