Code example for ContentHandler

Methods: endElement, startElement

0
			String value = xml.getPropertyValue(i);
 
			atts.addAttribute("", key, key, "string", value);
		} 
 
		handler.startElement("", xml.getName(), xml.getName(), atts);
 
		for (int i = 0; i < xml.getChildrenCount(); i++) {
			GDBMSParser p = new GDBMSParser(xml.getChild(i));
			p.setContentHandler(handler);
			p.parse();
		} 
 
		handler.endElement("", xml.getName(), xml.getName());
	} 
}