What does the return inside the if statements do in the following code?
public void startElement(String namespaceURI, String localName,String qName,
Yes. The return here will take the control out of method.