Code example for ContentHandler

Methods: endElement

0
                if ( SOAP_ENV_NS.equals( namespaceURI ) &&
                     "Body".equals( localName ) ) {
                    inBody_ = false;
                } 
                else { 
                    bodyHandler_.endElement( namespaceURI, localName, qName );
                } 
            } 
            else if ( inEnvelope_ ) {
                if ( SOAP_ENV_NS.equals( namespaceURI ) &&
                     "Envelope".equals( localName ) ) {
                    inEnvelope_ = false;
                } 
            } 
        } 
 
        public void characters( char[] ch, int start, int length )
                throws SAXException { 
            if ( inBody_ ) {
                bodyHandler_.characters( ch, start, length );
            }