private void cleanupHandler(ContentHandler vh) throws SAXException {
  for (PrefixMapping pm=prefixMapping; pm != null; pm=pm.parent)   vh.endPrefixMapping(pm.prefix);
  vh.endDocument();
}

private void cleanupHandler ( ContentHandler vh ) throws SAXException { for ( PrefixMapping pm = prefixMapping ; pm != null ; pm = pm . parent ) vh . endPrefixMapping ( pm . prefix ) ; vh . endDocument ( ) ; }
cleanup a handler . remove proxy namespace mappings calling endprefixmapping and calls also enddocument to signal that the source was ended .
