public void endAttributes() throws SAXException {
  String uri=getCurrentElementUri();
  String local=getCurrentElementLocal();
  String prefix=nsContext.getPrefix(uri);
  _assert(prefix != null);
  String qname;
  if (prefix.length() != 0)   qname=prefix + ':' + local;
 else   qname=local;
  nsContext.iterateDeclaredPrefixes(startPrefixCallback);
  writer.startElement(uri,local,qname,attributes);
  attributes.clear();
  textBuf.setLength(0);
}

public void endAttributes ( ) throws SAXException { String uri = getCurrentElementUri ( ) ; String local = getCurrentElementLocal ( ) ; String prefix = nsContext . getPrefix ( uri ) ; _assert ( prefix != null ) ; String qname ; if ( prefix . length ( ) != 0 ) qname = prefix + ':' + local ; else qname = local ; nsContext . iterateDeclaredPrefixes ( startPrefixCallback ) ; writer . startElement ( uri , local , qname , attributes ) ; attributes . clear ( ) ; textBuf . setLength ( 0 ) ; }
switches to the " marshal child texts / elements " mode . this method has to be called after the 1st pass is completed .
