public void endElement ( String uri , String localName , String qName ) throws SAXException { boolean seenElement = ( state == SEEN_ELEMENT ) ; state = stateStack . pop ( ) ; if ( seenElement ) { doNewline ( ) ; doIndent ( ) ; } super . endElement ( uri , localName , qName ) ; }
Add newline and indentation prior to end tag .