avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: DOMImplementation factory-block
Date Fri, 02 Nov 2001 22:19:44 GMT
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:Paul_Hammant@yahoo.com]
>>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:avalon-dev-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail:
>><mailto:avalon-dev-help@jakarta.apache.org>
>>
>
>
>--
>To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>
>
>
>




--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message