@Override public Document newDocument(){
  return new mf.org.apache.xerces.dom.DocumentImpl();
}

@ Override public Document newDocument ( ) { return new mf . org . apache . xerces . dom . DocumentImpl ( ) ; }
non - preferred : use the getdomimplementation ( ) method instead of this one to get a dom level 2 domimplementation object and then use dom level 2 methods to create a dom document object .
