Code example for ContentHandler

Methods: endPrefixMapping, startElement

0
		} 
 
		public void endPrefixMapping(String arg0) throws SAXException
		{ 
			emitLast(); 
			next.endPrefixMapping(arg0);
		} 
 
		public void emitLast() throws SAXException 
		{ 
			if (lastElement != null)
			{ 
				// this means that there was a startElement, startElement, 
				// so the lastElement MUST be emited 
				next.startElement(lastElement.ns, lastElement.qname,
						lastElement.lname, lastElement.atts);
				lastElement = null;
			} 
		} 
 
		public void startElement(String ns, String qname, String lname,