Neeme,
Take a look at the folowing classses in JDK1.4 or Crimson and all will become clear.
org.w3c.dom.DOMImplementation org.apache.crimson.tree.DOMImplementationImpl
- Paul H
Is this committed? How would it work? It would return some sort of DocumentBuilder object? Would love to use it also in XmlBundle...
-----Original Message----- From: Paul Hammant [mailto:[EMAIL PROTECTED] Sent: Friday, November 02, 2001 6:41 PM To: Avalon Development Subject: DOMImplementation factory-block
Blocks can depend on this new block in cornerstone. Its service interface is DOMImplementaion (org.w3c.dom package). In config.xml you specify the class you wish to use for your SAR and your can get it in the usual way. The block implementation done is essentially a proxy for the real thing. This would not have been possible before the ROLE static var thing was discontinued.
You should be able to have multiple DOM parsers in the same VM as nothing here is set at the global level. True IoC for DOM parsers.
You can shoose to use the Xerces parser that comes in JDK 1.4 or something else.
Jesktop and AvalonDB are going to use it (provided Peter etc does not shoot it down).
Regards,
- Paul H
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>