xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: substituting different DOM implementation
Date Thu, 14 Sep 2006 23:08:02 GMT
Hi Yaroslav.

Yaroslav Bulatov:
> Hi, I'm trying to substitute a different DOM implementation into a
> component rendered by JSVGCanvas, is the right strategy extend that
> class to override "loadSVGDocument" to provide my own DocumentLoader
> which provides my own version of DocumentFactory which in turn returns
> my custom DOM Implementation?

Do you want to just provide some implementations of some elements in the
document (e.g. your XForms elements)?  If so, then you can provide an
instance of org.apache.batik.dom.DomExtension.  See
http://xmlgraphics.apache.org/batik/extendingBatik.html#domExtension for
how to do this.

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message