On Thursday 27 September 2007, [EMAIL PROTECTED] wrote:
>              if (rawJaxbModelGenCode instanceof S2JJAXBModel) {
>                  S2JJAXBModel schem2JavaJaxbModel =
> (S2JJAXBModel)rawJaxbModelGenCode; +
> +                ClassCollector classCollector =
> context.get(ClassCollector.class); +                for (String cls :
> schem2JavaJaxbModel.getClassList()) { +                    if
> (cls.endsWith("ObjectFactory")) {
> +                        classCollector.getTypesFactory().add(cls);
> +                    }
> +                }
> +
>  

The call to getClassList() is deprecated and is generated deprecation 
warnings.   Can you change that to the call:
List<JClass> getAllObjectFactories();


Thanks!

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to