You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by John Gentilin <ge...@eyecatching.com> on 2004/02/01 01:28:04 UTC

Element Extension Help, Controlling Obj Creation

Is there no way to control object creation when
using Extension Elements. My read is if the object
is not in the Element Cache, it will create a default
instance.

What I am trying to do is share the instance of an
Extension element with and Extension functions.
I could add a static getInstance() method to my
object but that would only be valid to call as
an Extension Function once I am sure that the
Extension Element has created the default instance.
That will probably work but sounds a bit sketchy.

TIA
John G

-- 
--------------------------------------
John Gentilin
Eye Catching Solutions Inc.
18314 Carlwyn Drive
Castro Valley CA 94546

     Contact Info
gentijo@eyecatching.com
Ca Office 1-510-881-4821
NJ Office 1-732-422-4917