jm.addThrows(JAXBException.class);
}
String serializerName = getXMLSerializersFieldName(particle.getPropertySG());
Context myClassContext = child.getTypeSG().getComplexTypeSG().getClassContext();
JavaQName serializerClass = myClassContext.getXMLSerializerName();
JavaField jf = pSource.newJavaField(serializerName, serializerClass, JavaSource.PRIVATE);
JavaQName elementInterface = myClassContext.getXMLInterfaceName();
if (child.getTypeSG().isGlobalClass()) {
jm.addLine(jf, " = (", serializerClass, ") ", pFactory, ".getJMXmlSerializer(", elementInterface, ".class);");
} else {
jm.addLine(jf, " = new ", serializerClass, "();");