code: public void endElement(String uri, String localName, String qName) throws SAXException {
  		if (state == SEEN_ELEMENT) {
  			clearWhitespace();
  		} else {
  			emitWhitespace();
  		}
  		state = stateStack.pop();
  		super.endElement(uri, localName, qName);
  	}
docs: Filter an end element event.
  
  @param uri
  The element's Namespace URI.
  @param localName
  The element's local name.
  @param qName
  The element's qualified (prefixed) name.
  @exception org.xml.sax.SAXException
  If a filter further down the chain raises an exception.
  @see org.xml.sax.ContentHandler#endElement