Code example for DefaultHandler

Methods: endElementstartElement

0
	 * @param context 
	 * @throws SAXException 
	 */ 
	protected void endLayoutDefinition(TableRenderContext context)
			throws SAXException {
		this.documentHandler.endElement(FOElementMapping.URI, "region-body",
				"region-body"); 
 
		if (getShowHeader()) { 
			this.documentHandler.startElement(FOElementMapping.URI,
					"region-before", "region-before", 
					createRegionBeforeAttributes(context));
			this.documentHandler.endElement(FOElementMapping.URI,
					"region-before", "region-before"); 
		} 
 
		if (getShowFooter()) { 
			this.documentHandler.startElement(FOElementMapping.URI,
					"region-after", "region-after", 
					createRegionAfterAttributes(context));
			this.documentHandler.endElement(FOElementMapping.URI,
					"region-after", "region-after"); 
		} 
 
		this.documentHandler.endElement(FOElementMapping.URI,
				"simple-page-master", "simple-page-master"); 
 
		this.documentHandler.endElement(FOElementMapping.URI,
				"layout-master-set", "layout-master-set"); 
	} 
 
	/** 
	 * @param context 
Contextual code suggestions in your IDE  Get Codota for Java