Code example for DefaultHandler

Methods: endElementstartElement

0
	 * @param context 
	 * @throws SAXException 
	 */ 
	protected void startHeaderBlock(TableRenderContext context)
			throws SAXException {
		this.documentHandler.startElement(FOElementMapping.URI, "block",
				"block", createHeaderBlockAttributes(context));
 
		AttributesImpl attributes = new AttributesImpl();
 
		attributes.addAttribute("", "retrieve-class-name",
				"retrieve-class-name", "CDATA", "page-head"); 
 
		this.documentHandler.startElement(FOElementMapping.URI,
				"retrieve-marker", "retrieve-marker", attributes);
		this.documentHandler.endElement(FOElementMapping.URI,
				"retrieve-marker", "retrieve-marker"); 
	} 
 
	/** 
	 * @param context 
Experience pair programming with AI  Get Codota for Java