Andy Clark wrote:
> 
> Edwin Goei wrote:
> > FactoryFinder class is duplicated already in javax.xml.parsers and
> > javax..transform b/c we don't want it to be exposed as part of JAXP.  It
> 
> I would not suggest making it part of JAXP. It's just a generic
> way of dynamically instantiating a class that works both in Java
> 1.1 and Java 2. But I thought the whole purpose of xml-commons
> was to reduce the duplication of code. So that's why I proposed
> to put it somewhere in xml-commons.

Not sure if I understand, but what I meant in my previous posting was
that FactoryFinder is a _protected_ class so it does not show up in the
JAXP API.  JAXP consists of two packages: javax.xml.parsers and
javax.xml.transform that both need the generic FactoryFinder code, so
that class was essentially duplicated in both packages b/c it had to be
_protected_ and not public.  There is similar code that is part of the
internals of the Sun JDK 1.4, but we could not use that b/c the code
needs to run on older versions of the JDK.

-Edwin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to