Code example for DefaultHandler

Methods: startElement

0
	 * @param context 
	 * @throws SAXException 
	 */ 
	protected void startFooterBlock(TableRenderContext context)
			throws SAXException {
		this.documentHandler.startElement(FOElementMapping.URI, "block",
				"block", createFooterBlockAttributes(context));
	} 
 
	/** 
	 * @param context 
	 * @return 
	 */ 
	protected AttributesImpl createFooterBlockAttributes(
			TableRenderContext context) {
		AttributesImpl attributes = new AttributesImpl();
 
		attributes.addAttribute("", "border-top", "border-top", "CDATA",
				"1pt solid black"); 
		attributes.addAttribute("", "padding-top", "padding-top", "CDATA",
Experience pair programming with AI  Get Codota for Java