@Override
    public void endElement(String uri, String localName, String name) throws SAXException {
        if ("name".equals(name)) {
            final String itemName = this.chars.toString().trim();

            if (this.currentTable == null) {
                this.currentTable = itemName;
            } else if (this.currentColumn == null) {
                this.currentColumn = itemName;
            }
        } else if ("value".equals(name)) {
            this.currentValue = this.chars.toString().trim();
        } else if ("column".equals(name)) {
            this.rowData.put(this.currentColumn, this.currentValue);
            this.currentColumn = null;
            this.currentValue = null;
        } else if ("row".equals(name)) {
            this.doInsert();
            this.rowData = null;
        } else if ("table".equals(name)) {
            this.currentTable = null;
        }

        this.chars = null;
    }
@ Override public void endElement ( String uri , String localName , String name ) throws SAXException { if ( "name" . equals ( name ) ) { final String itemName = this . chars . toString ( ) . trim ( ) ; if ( this . currentTable == null ) { this . currentTable = itemName ; } else if ( this . currentColumn == null ) { this . currentColumn = itemName ; } } else if ( "value" . equals ( name ) ) { this . currentValue = this . chars . toString ( ) . trim ( ) ; } else if ( "column" . equals ( name ) ) { this . rowData . put ( this . currentColumn , this . currentValue ) ; this . currentColumn = null ; this . currentValue = null ; } else if ( "row" . equals ( name ) ) { this . doInsert ( ) ; this . rowData = null ; } else if ( "table" . equals ( name ) ) { this . currentTable = null ; } this . chars = null ; }
/* (non-Javadoc)
@see org.xml.sax.helpers.DefaultHandler#endElement(java.lang.String, java.lang.String, java.lang.String)