Code example for DefaultHandler

Methods: charactersendElementstartElement

0
	 * @param context 
	 * @throws SAXException 
	 */ 
	protected void createFooterContent(TableRenderContext context)
			throws SAXException {
		this.documentHandler.startElement(FOElementMapping.URI, "block",
				"block", createFooterTextAttributes(context));
 
		String footer = getFooterText();
		if (footer == null) {
			footer = DateFormat.getDateTimeInstance().format(new Date());
		} 
 
		this.documentHandler.characters(footer.toCharArray(), 0,
				footer.length());
 
		this.documentHandler.endElement(FOElementMapping.URI, "block", "block");
	} 
 
	/** 
	 * @param context 
	 * @return 
Experience pair programming with AI  Get Codota for Java