Code example for DefaultHandler

Methods: startDocumentstartElement

0
			Fop fop = createFop(getFopFactory(), getUserAgent(),
					getOutputStream()); 
 
			this.documentHandler = fop.getDefaultHandler();
 
			this.documentHandler.startDocument();
			this.documentHandler.startElement(FOElementMapping.URI, "root",
					"root", new AttributesImpl());
 
			startLayoutDefinition(context);
			endLayoutDefinition(context);
 
			startPageSequence(context);
		} catch (SAXException e) {
			throw new PivotException(e);
		} 
	} 
 
	/** 
	 * @see org.pivot4j.ui.table.TableRenderCallback#startTable(org.pivot4j.ui.table.TableRenderContext)