code: private <T extends Serializable> Serializer getSerializer(QName xmlType, Class<T> clazz)
        throws SecurityException,
        NoSuchMethodException,
        IllegalArgumentException,
        IllegalAccessException,
        InvocationTargetException {
      Method getSerializer = clazz.getMethod("getSerializer", String.class, Class.class, QName.class);
      return (Serializer) getSerializer.invoke(null, null, clazz, xmlType);
    }
docs: Uses reflection to get an Axis Serializer.